rename the applet loadable file: libsimple-launcher.so to simple-launcher.so
[simple-launcher] / launcher-item.h
1 #ifndef __LAUNCHER_ITEM_H__
2 #define __LAUNCHER_ITEM_H__
3
4 #include <string>
5
6 #include <gdk-pixbuf/gdk-pixbuf.h>
7
8 #include <libosso.h>
9
10 class LauncherItem {
11 public:
12   LauncherItem();
13  ~LauncherItem();
14
15   bool activate(osso_context_t *);
16
17   bool load(const std::string&);
18
19   GdkPixbuf *getIcon(int icon_size) const;
20
21   const std::string& getName() const { return myName; }
22   const std::string& getComment() const { return myComment; }
23   const std::string& getService() const { return myService; }
24 private:
25   std::string myName, myComment, myIcon, myService;
26 };
27
28 #endif