Ignore:
Timestamp:
Dec 13, 2011, 9:46:10 AM (14 years ago)
Author:
Frederik Heber <heber@…>
Children:
549b62
Parents:
bc2698
git-author:
Frederik Heber <heber@…> (12/01/11 10:20:57)
git-committer:
Frederik Heber <heber@…> (12/13/11 09:46:10)
Message:

Refactored all Observer stuff into own subfolder and split up into distinct modules.

  • Observer/all.hpp is all that's needed.
Location:
src/Patterns/Observer/unittests/stubs
Files:
2 moved

Legend:

Unmodified
Added
Removed
  • src/Patterns/Observer/unittests/stubs/ObserverStub.cpp

    rbc2698 re2e035e  
    2424#include "ObserverStub.hpp"
    2525
     26#include "Observer/Channels.hpp"
     27#include "Observer/Notification.hpp"
     28
    2629/************ UpdateCountObserver **************/
    2730
     
    132135  Observable("NotificationObservable")
    133136{
    134   Channels *OurChannel = new Channels(this);
     137  Channels *OurChannel = new Channels();
    135138  NotificationChannels.insert( std::make_pair(this, OurChannel) );
    136139  OurChannel->addChannel(Operation1Notify);
  • src/Patterns/Observer/unittests/stubs/ObserverStub.hpp

    rbc2698 re2e035e  
    99#define OBSERVERSTUB_HPP_
    1010
    11 #include "Observer.hpp"
    12 #include "ObservedIterator.hpp"
     11#include "Observer/Observer.hpp"
     12#include "Observer/Observable.hpp"
     13#include "Observer/ObservedIterator.hpp"
    1314
    1415class UpdateCountObserver : public Observer {
Note: See TracChangeset for help on using the changeset viewer.