#ifndef _VJ_DEVICE_INTERFACE_H_
#define _VJ_DEVICE_INTERFACE_H_

//: Base class for simplified interfaces
//
// Interfaces provide an easier way to access proxy objects from
// within user applications. <br> <br>
//
// Users can simply declare a local interface variable and use it
// as a smart_ptr for the proxy
//
//! NOTE: The init function should be called in the init function of the user
//+         application

#include <vjConfig.h>

class vjDeviceInterface
{
public:
   vjDeviceInterface() : mProxyIndex(-1)
   {;}

   //: Initialize the object
   //! ARGS: proxyName - String name of the proxy to connect to
   void init(string proxyName);

   //: Return the index of the proxy
   int getProxyIndex()
   {  return mProxyIndex; }

protected:
   int mProxyIndex;        //: The index of the proxy
};

#endif

#ifndef _VJ_DEVICE_INTERFACE_H_
#define _VJ_DEVICE_INTERFACE_H_

//: Base class for simplified interfaces
//
// Interfaces provide an easier way to access proxy objects from
// within user applications. <br> <br>
//
// Users can simply declare a local interface variable and use it
// as a smart_ptr for the proxy
//
//! NOTE: The init function should be called in the init function of the user
//+         application

#include <mstring.h>

class vjDeviceInterface
{
public:
   vjDeviceInterface() : mProxyIndex(-1)
   {;}

   //: Initialize the object
   //! ARGS: proxyName - String name of the proxy to connect to
   void init(string proxyName);

   //: Return the index of the proxy
   int getProxyIndex()
   {  return mProxyIndex; }

protected:
   int mProxyIndex;        //: The index of the proxy
};

#endif

--- 
+++ 
@@ -12,7 +12,7 @@
 //! NOTE: The init function should be called in the init function of the user
 //+         application
 
-#include <mstring.h>
+#include <vjConfig.h>
 
 class vjDeviceInterface
 {
Include vjConfig.h rather than mstring.h to get the basic_string
implmentation.


git-svn-id: 769d22dfa2d22aad706b9a451492fb87c0735f19@596 08b38cba-cd3b-11de-854e-f91c5b6e4272
