summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-12-14 22:21:11 +0100
committerRobin Gareus <robin@gareus.org>2016-12-14 22:39:22 +0100
commit07bcdc7f0a5b2702eff92716ab42228c6977ce94 (patch)
tree74a753055079f3556dd7aac3e7acbe537e17f322 /libs/pbd
parent77845f601912c0237fb40a19d401ca64bac542b1 (diff)
NO-OP: re-indent
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/pbd/event_loop.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/libs/pbd/pbd/event_loop.h b/libs/pbd/pbd/event_loop.h
index ce2040084c..6fd92c49c8 100644
--- a/libs/pbd/pbd/event_loop.h
+++ b/libs/pbd/pbd/event_loop.h
@@ -45,7 +45,7 @@ namespace PBD
class LIBPBD_API EventLoop
{
- public:
+public:
EventLoop (std::string const&);
virtual ~EventLoop() {}
@@ -53,18 +53,18 @@ class LIBPBD_API EventLoop
range_guarantee = ~0
};
- struct BaseRequestObject;
+ struct BaseRequestObject;
- struct InvalidationRecord {
- std::list<BaseRequestObject*> requests;
- PBD::EventLoop* event_loop;
- const char* file;
- int line;
+ struct InvalidationRecord {
+ std::list<BaseRequestObject*> requests;
+ PBD::EventLoop* event_loop;
+ const char* file;
+ int line;
- InvalidationRecord() : event_loop (0) {}
- };
+ InvalidationRecord() : event_loop (0) {}
+ };
- static void* invalidate_request (void* data);
+ static void* invalidate_request (void* data);
struct BaseRequestObject {
RequestType type;
@@ -99,8 +99,8 @@ class LIBPBD_API EventLoop
static void pre_register (const std::string& emitting_thread_name, uint32_t num_requests);
static void remove_request_buffer_from_map (void* ptr);
- private:
- static Glib::Threads::Private<EventLoop> thread_event_loop;
+private:
+ static Glib::Threads::Private<EventLoop> thread_event_loop;
std::string _name;
typedef std::map<std::string,ThreadBufferMapping> ThreadRequestBufferList;
@@ -110,14 +110,14 @@ class LIBPBD_API EventLoop
struct RequestBufferSupplier {
/* @param name : name of object/entity that will/may accept
- requests from other threads, via a request buffer.
- */
+ * requests from other threads, via a request buffer.
+ */
std::string name;
/* @param factory : a function that can be called (with an
- argument specifying the @param number_of_requests) to create and
- return a request buffer for communicating with @param name)
- */
+ * argument specifying the @param number_of_requests) to create and
+ * return a request buffer for communicating with @param name)
+ */
void* (*factory)(uint32_t nunber_of_requests);
};
typedef std::vector<RequestBufferSupplier> RequestBufferSuppliers;