49 lines
1.1 KiB
C++
49 lines
1.1 KiB
C++
#ifndef _REMOTEPSAPP_REMOTEPROCESSINFO_HPP_
|
|
#define _REMOTEPSAPP_REMOTEPROCESSINFO_HPP_
|
|
#ifndef _COMMON_STRING_HPP_
|
|
#include <common/string.hpp>
|
|
#endif
|
|
#ifndef _NNTP_JPGIMAGE_HPP_
|
|
#include <jpgimg/jpgimg.hpp>
|
|
#endif
|
|
#ifndef _REMOTEPSAPP_PROCESSLIST_HPP_
|
|
#include <remotepsapp/processlist.hpp>
|
|
#endif
|
|
#ifndef _COM_COM_HPP_
|
|
#include <com/com.hpp>
|
|
#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 |