source: SMSSender/src/business/BusinessFactory.h @ 43:10dd65d71f7f

3.0
Last change on this file since 43:10dd65d71f7f was 43:10dd65d71f7f, checked in by Sämy Zehnder <saemy.zehnder@…>, 13 years ago
  • Did a lot of work...
File size: 483 bytes
Line 
1/*
2 * BusinessFactory.h
3 *
4 *  Created on: May 3, 2009
5 *      Author: saemy
6 */
7
8#ifndef BUSINESSFACTORY_H_
9#define BUSINESSFACTORY_H_
10
11#include <icontact.h>
12#include <igroup.h>
13
14class BusinessFactory {
15
16public:
17    static BusinessFactory* instance();
18
19    IContact*  getContactInstance();
20    IGroup*    getGroupInstance();
21
22protected:
23    BusinessFactory(){};
24    virtual ~BusinessFactory(){};
25
26private:
27    static BusinessFactory* instance_;
28
29};
30
31#endif /* BUSINESSFACTORY_H_ */
Note: See TracBrowser for help on using the repository browser.