#ifndef MICEXAMPLE_H
#define MICEXAMPLE_H
#include "aibolib.h"
#include "def.h"
enum SYSTEM_STATE{
SYSTEM_START,
SYSTEM_IDLE
};
class MicExample: public Aibo {
public:
MicExample();
virtual ~MicExample(){};
OSubject* subject[numOfSubject];
OObserver* observer[numOfObserver];
OStatus DoInit (const OSystemEvent& event);
OStatus DoStart (const OSystemEvent& event);
OStatus DoStop (const OSystemEvent& event);
OStatus DoDestroy(const OSystemEvent& event);
void NotifyMic(const ONotifyEvent& event);
protected:
SYSTEM_STATE State;
AiboSound Mic;
};
#endif //define MICEXAMPLE_H