#ifndef _REMOTEPSAPP_REMOTEPROCESSINFO_HPP_ #define _REMOTEPSAPP_REMOTEPROCESSINFO_HPP_ #ifndef _COMMON_STRING_HPP_ #include #endif #ifndef _NNTP_JPGIMAGE_HPP_ #include #endif #ifndef _REMOTEPSAPP_PROCESSLIST_HPP_ #include #endif #ifndef _COM_COM_HPP_ #include #endif class IRemoteProcess; class WindowView; class RemoteProcessInfo : public ProcessList { public: RemoteProcessInfo(void); virtual ~RemoteProcessInfo(); bool connect(const String &serverName); void disconnect(void); bool getListItems(void); bool getDesktopWindow(WindowView &windowView); const String &serverName(void)const; bool isOkay(void)const; private: bool getListItems(IRemoteProcess *pIRemoteProcess); bool getDesktopWindow(IRemoteProcess *pIRemoteProcess,WindowView &windowView); String mServerName; IRemoteProcess *mpIRemoteProcess; }; inline const String &RemoteProcessInfo::serverName(void)const { return mServerName; } inline bool RemoteProcessInfo::isOkay(void)const { return mpIRemoteProcess?true:false; } #endif