[haiku-commits] r42978 - haiku/trunk/src/kits/app

  • From: axeld@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 29 Oct 2011 22:52:53 +0200 (CEST)

Author: axeld
Date: 2011-10-29 22:52:52 +0200 (Sat, 29 Oct 2011)
New Revision: 42978
Changeset: https://dev.haiku-os.org/changeset/42978

Modified:
   haiku/trunk/src/kits/app/Looper.cpp
Log:
* Minor cleanup.


Modified: haiku/trunk/src/kits/app/Looper.cpp
===================================================================
--- haiku/trunk/src/kits/app/Looper.cpp 2011-10-29 20:48:41 UTC (rev 42977)
+++ haiku/trunk/src/kits/app/Looper.cpp 2011-10-29 20:52:52 UTC (rev 42978)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2001-2008, Haiku.
+ * Copyright 2001-2011, Haiku.
  * Distributed under the terms of the MIT License.
  *
  * Authors:
@@ -9,8 +9,10 @@
  *             Axel Dörfler, axeld@xxxxxxxxxxxxxxxx
  */
 
+
 /*!    BLooper class spawns a thread that runs a message loop. */
 
+
 #include <AppMisc.h>
 #include <AutoLocker.h>
 #include <DirectMessageTarget.h>
@@ -51,7 +53,7 @@
 #define FILTER_LIST_BLOCK_SIZE 5
 #define DATA_BLOCK_SIZE                        5
 
-// Globals 
---------------------------------------------------------------------
+
 using BPrivate::gDefaultTokens;
 using BPrivate::gLooperList;
 using BPrivate::BLooperList;
@@ -63,7 +65,7 @@
        BLOOPER_HANDLER_BY_INDEX
 };
 
-static property_info gLooperPropInfo[] = {
+static property_info sLooperPropInfo[] = {
        {
                "Handler",
                        {},
@@ -622,7 +624,7 @@
                        string comparisons -- which wouldn't tell the whole 
story anyway,
                        because of the same name being used for multiple 
properties.
  */
-       BPropertyInfo propertyInfo(gLooperPropInfo);
+       BPropertyInfo propertyInfo(sLooperPropInfo);
        uint32 data;
        status_t err = B_OK;
        const char* errMsg = "";
@@ -677,7 +679,7 @@
 
        status_t status = data->AddString("suites", "suite/vnd.Be-looper");
        if (status == B_OK) {
-               BPropertyInfo PropertyInfo(gLooperPropInfo);
+               BPropertyInfo PropertyInfo(sLooperPropInfo);
                status = data->AddFlat("messages", &PropertyInfo);
                if (status == B_OK)
                        status = BHandler::GetSupportedSuites(data);


Other related posts: