]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/src/theme_repository.hpp
Skins2: Cosmetics, 100% pure. We don't indent for labels in C, we don't in C++.
[vlc] / modules / gui / skins2 / src / theme_repository.hpp
index c374bb58f5475bb075009d70f7e04d9449f6c225..bacc0e0ace8489622bed502f118310362275fdd6 100644 (file)
@@ -16,9 +16,9 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 #ifndef THEME_REPOSITORY_HPP
 /// Singleton object handling the list of available themes
 class ThemeRepository: public SkinObject
 {
-    public:
-        /// Get the instance of ThemeRepository
-        /// Returns NULL if the initialization of the object failed
-        static ThemeRepository *instance( intf_thread_t *pIntf );
-
-        /// Delete the instance of ThemeRepository
-        static void destroy( intf_thread_t *pIntf );
-
-    protected:
-        // Protected because it is a singleton
-        ThemeRepository( intf_thread_t *pIntf );
-        virtual ~ThemeRepository();
-
-    private:
-
-        /// Look for themes in a directory
-        void parseDirectory( const string &rDir );
-
-        /// Callback for menu item selection
-        static int changeSkin( vlc_object_t *pThis, char const *pVariable,
-                               vlc_value_t oldval, vlc_value_t newval,
-                               void *pData );
+public:
+    /// Get the instance of ThemeRepository
+    /// Returns NULL if the initialization of the object failed
+    static ThemeRepository *instance( intf_thread_t *pIntf );
+
+    /// Delete the instance of ThemeRepository
+    static void destroy( intf_thread_t *pIntf );
+
+protected:
+    // Protected because it is a singleton
+    ThemeRepository( intf_thread_t *pIntf );
+    virtual ~ThemeRepository();
+
+private:
+    /// Look for themes in a directory
+    void parseDirectory( const string &rDir );
+
+    /// Callback for menu item selection
+    static int changeSkin( vlc_object_t *pThis, char const *pVariable,
+                           vlc_value_t oldval, vlc_value_t newval,
+                           void *pData );
 };