~mira-dev/mira/p2p

« back to all changes in this revision

Viewing changes to mira-client/include/gui/qt/Utility.h

  • Committer: Alan Alvarez
  • Date: 2009-10-13 02:13:33 UTC
  • Revision ID: aalvarez@aliensoft.net-20091013021333-hysafl0zshp79v2e
- Initial commit for p2p network code.
- Removed regular network code for now.
- This only works in linux for now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef UTILITY_H
2
 
#define UTILITY_H
3
 
 
4
 
#include <string>
5
 
 
6
 
namespace miraclient
7
 
{
8
 
 
9
 
namespace gui
10
 
{
11
 
 
12
 
 
13
 
class Utility
14
 
{
15
 
 
16
 
    public:
17
 
        Utility(std::string name);
18
 
        void setName(std::string name);
19
 
        void setIcon(std::string icon);
20
 
        std::string getName();
21
 
        std::string getIcon();
22
 
        virtual ~Utility();
23
 
    protected:
24
 
    private:
25
 
        std::string m_name;
26
 
        std::string m_icon;
27
 
        //need to know about Model/View/Controller info for this utility
28
 
};
29
 
 
30
 
 
31
 
} //end namespace gui
32
 
 
33
 
} //end namespace miraclient
34
 
 
35
 
#endif // UTILITY_H