* created a wrapper over LauncherItem (helps to embrace functionality that is necess...
[simple-launcher] / launcher-item.h
index b5e811e..97e6c64 100644 (file)
@@ -3,8 +3,8 @@
 // Copyright (C) 2006, Mikhail Sobolev
 //
 // Simple Launcher is free software; you can redistribute it and/or modify it
-// under the terms of the GNU General Public License as published by the Free
-// Software Foundation; either version 2 of the License.
+// under the terms of the GNU General Public License version 2 as published by
+// the Free Software Foundation.
 //
 // This program is distributed in the hope that it will be useful, but WITHOUT
 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
@@ -21,6 +21,7 @@
 #include <string>
 
 #include <gdk-pixbuf/gdk-pixbuf.h>
+#include <gtk/gtkicontheme.h>
 
 #include <libosso.h>
 
@@ -29,8 +30,6 @@ public:
   LauncherItem();
  ~LauncherItem();
 
-  bool activate(osso_context_t *);
-
   bool load(const std::string&);
 
   GdkPixbuf *getIcon(int icon_size) const;
@@ -40,6 +39,10 @@ public:
   const std::string& getService() const { return myService; }
 private:
   std::string myName, myComment, myIcon, myService;
+
+  static GtkIconTheme *ourTheme;
 };
 
 #endif
+
+// vim:ts=2:sw=2:et