/*
* Object.h
* Copyright (c) 2009 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED.
*/
// SOL9
// 2008/07/14 Modified to include <iphlpapi.h>,<shlobj.h>,<comdef.h> and <shellapi.h>
// 2008/07/29
// 2009/03/03
// 2008/11/14
// 2009/11/01
#pragma once
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <io.h>
#include <time.h>
//
#include <winsock2.h>
#include <ws2tcpip.h>
//2008/07/14
#include <iphlpapi.h>
#include <sol/Wchardef.h>
#include <windows.h>
#include <tchar.h>
#include <commctrl.h>
#include <objbase.h>
//2008/07/29
#include <shlwapi.h>
//2008/07/14
#include <shlobj.h>
#include <comdef.h>
#include <shellapi.h>
//2008/07/29
#include <process.h>
//2009/10/22
#include <locale.h>
//2008/09/29
//#include <mshtmdid.h>
//#include <docobj.h>
#include <sol\auxdef.h>
//2009/09/27
#ifdef _SOL32_DISABLE_WARNING
#pragma warning(disable:4996)
#endif
#include <sol/Wchardef.h>
#ifdef _DEBUG
#define _soltrace printf
#else
#define _soltrace
#endif
namespace SOL {
/**
* Class Object. The base class of SOL7 class library.
*/
class Object {
int id;
public:
/**
* Constructor
*/
Object() { id = 0; }
/**
* Destructor
*/
virtual ~Object() { }
/**
* Virtual compare method.
*/
virtual int compare(Object* object) { return 0; }
/**
* Virutal dump method.
*/
virtual void dump() { }
/**
* Return id member of this object.
*/
int getId() { return id; }
/**
* Set val to the member id of this object
*/
void setId(int val) { id = val; }
/**
* Virtual toString method.
*/
virtual const char* toString() { return "Object"; }
};
}
using namespace SOL;
|