This commit is contained in:
2024-08-07 09:16:27 -04:00
parent fdfadd5c7e
commit 5f971cf684
5200 changed files with 731717 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
#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