ignoring .d, .o, .so and test files
[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 class LauncherItem {
9 public:
10   LauncherItem();
11  ~LauncherItem();
12
13   bool load(const std::string&);
14
15   GdkPixbuf *getIcon(int icon_size) const;
16
17   const std::string& getName() const { return myName; }
18   const std::string& getComment() const { return myComment; }
19   const std::string& getService() const { return myService; }
20 private:
21   std::string myName, myComment, myIcon, myService;
22 };
23
24 #endif