Last change
on this file since 356 was 196, checked in by Marek Kurdej, 11 years ago |
Fixed: using auto-generated PacpusLibConfig.h instead of pacpus.h.
|
-
Property svn:executable
set to
*
|
File size:
528 bytes
|
Rev | Line | |
---|
[153] | 1 | #ifndef CONNECTIONBASE_H
|
---|
| 2 | #define CONNECTIONBASE_H
|
---|
[89] | 3 |
|
---|
[196] | 4 | #include <Pacpus/kernel/PacpusLibConfig.h>
|
---|
[89] | 5 |
|
---|
| 6 | namespace pacpus {
|
---|
| 7 |
|
---|
[96] | 8 | class AbstractInterface;
|
---|
[89] | 9 |
|
---|
[102] | 10 | class PACPUSLIB_API ConnectionBase
|
---|
[89] | 11 | {
|
---|
| 12 | public:
|
---|
[182] | 13 | ConnectionBase(AbstractInterface * anInterface, int priority);
|
---|
| 14 | virtual ~ConnectionBase();
|
---|
[89] | 15 |
|
---|
[196] | 16 | AbstractInterface * getInterface() const;
|
---|
[182] | 17 | int getPriority() const;
|
---|
| 18 | bool operator==(ConnectionBase const & c);
|
---|
[89] | 19 |
|
---|
| 20 | private:
|
---|
[153] | 21 | AbstractInterface * m_interface;
|
---|
| 22 | int m_priority;
|
---|
[89] | 23 | };
|
---|
| 24 |
|
---|
| 25 | } // namespace pacpus
|
---|
| 26 |
|
---|
[153] | 27 | #endif // CONNECTIONBASE_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.