mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
NO-OP: Re-indent websockets code
"Always use Tabstops for block-indent (the code must be formatted correctly with "[TAB] = N spaces" for any value of N). Use space only for alignment." - https://ardour.org/styleguide.html
This commit is contained in:
parent
224be91211
commit
5e3480ba8f
23 changed files with 1260 additions and 1217 deletions
|
|
@ -24,8 +24,9 @@
|
|||
#include "ardour/session.h"
|
||||
#include "pbd/event_loop.h"
|
||||
|
||||
namespace ArdourSurface {
|
||||
class ArdourWebsockets;
|
||||
namespace ArdourSurface
|
||||
{
|
||||
class ArdourWebsockets;
|
||||
}
|
||||
|
||||
class ArdourStrips;
|
||||
|
|
@ -35,27 +36,31 @@ class WebsocketsDispatcher;
|
|||
|
||||
class SurfaceComponent
|
||||
{
|
||||
public:
|
||||
public:
|
||||
SurfaceComponent (ArdourSurface::ArdourWebsockets& surface)
|
||||
: _surface (surface){};
|
||||
|
||||
SurfaceComponent (ArdourSurface::ArdourWebsockets& surface) : _surface (surface) {};
|
||||
virtual ~SurfaceComponent (){};
|
||||
|
||||
virtual ~SurfaceComponent () {};
|
||||
virtual int start ()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
virtual int stop ()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
virtual int start () { return 0; }
|
||||
virtual int stop () { return 0; }
|
||||
|
||||
PBD::EventLoop* event_loop () const;
|
||||
Glib::RefPtr<Glib::MainLoop> main_loop() const;
|
||||
ARDOUR::Session& session () const;
|
||||
ArdourStrips& strips () const;
|
||||
ArdourGlobals& globals () const;
|
||||
WebsocketsServer& server () const;
|
||||
WebsocketsDispatcher& dispatcher () const;
|
||||
|
||||
protected:
|
||||
|
||||
ArdourSurface::ArdourWebsockets& _surface;
|
||||
PBD::EventLoop* event_loop () const;
|
||||
Glib::RefPtr<Glib::MainLoop> main_loop () const;
|
||||
ARDOUR::Session& session () const;
|
||||
ArdourStrips& strips () const;
|
||||
ArdourGlobals& globals () const;
|
||||
WebsocketsServer& server () const;
|
||||
WebsocketsDispatcher& dispatcher () const;
|
||||
|
||||
protected:
|
||||
ArdourSurface::ArdourWebsockets& _surface;
|
||||
};
|
||||
|
||||
#endif // surface_component_h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue