Ignore:
Timestamp:
05/23/13 12:16:31 (11 years ago)
Author:
morasjul
Message:

2.0 minor fixs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0-beta1/include/Pacpus/kernel/ConnectionBase.h

    r89 r96  
    55namespace pacpus {
    66
    7 class InputInterfaceBase;
     7class AbstractInterface;
    88
    99class ConnectionBase
    1010{
    1111public:
    12     ConnectionBase(InputInterfaceBase * input, int priority):_input(input),_priority(priority) {}
     12    ConnectionBase(AbstractInterface * interface, int priority):_interface(interface),_priority(priority) {}
    1313    ~ConnectionBase() {}
    1414
    15     InputInterfaceBase *  getInputInterface() const {return _input;}
     15    AbstractInterface *  getInterface() const {return _interface;}
    1616    int getPriority() const {return _priority;}
    1717
    1818    bool operator== (ConnectionBase const &c) {
    19         return _input == c.getInputInterface() && _priority == c.getPriority();}
     19        return _interface == c.getInterface() && _priority == c.getPriority();}
    2020
    2121private:
    22     InputInterfaceBase * _input;
     22    AbstractInterface * _interface;
    2323    int _priority;
    2424};
Note: See TracChangeset for help on using the changeset viewer.