summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/test/sockethandler/sockethandlerTest.h
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerDaemon/test/sockethandler/sockethandlerTest.h')
-rw-r--r--AudioManagerDaemon/test/sockethandler/sockethandlerTest.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/AudioManagerDaemon/test/sockethandler/sockethandlerTest.h b/AudioManagerDaemon/test/sockethandler/sockethandlerTest.h
index d58c46f..18eff7e 100644
--- a/AudioManagerDaemon/test/sockethandler/sockethandlerTest.h
+++ b/AudioManagerDaemon/test/sockethandler/sockethandlerTest.h
@@ -17,7 +17,12 @@ namespace am {
class SamplePlugin
{
public:
- SamplePlugin(SocketHandler *mySocketHandler);
+ enum sockType_e
+ {
+ UNIX,
+ INET
+ };
+ SamplePlugin(SocketHandler *mySocketHandler,sockType_e socketType);
virtual ~SamplePlugin() {};
void connectSocket(const pollfd pollfd,const sh_pollHandle_t handle, void* userData);
void receiveData(const pollfd pollfd,const sh_pollHandle_t handle, void* userData);