コード例 #1
0
CompatibilityList CompatibilityList::CreateCompatibilityList()
{
	CompatibilityList cl;

// modifiy these or add more incompatible versions here

/* TXTEX_IGNORE */ 	cl.AddIncompatibility(_T("desksite"),	VersionRange(CVersionInfo(0, 0, 0, 1), CVersionInfo(2,1,3,1508)));
/* TXTEX_IGNORE */ 	cl.AddIncompatibility(_T("imanage"),	VersionRange(CVersionInfo(0, 0, 0, 1), CVersionInfo(2,1,3,1508)));
/* TXTEX_IGNORE */ 	cl.AddIncompatibility(_T("powerdocs"),	VersionRange(CVersionInfo(0, 0, 0, 1), CVersionInfo(2,1,3,1508)));
/* TXTEX_IGNORE */ 	cl.AddIncompatibility(_T("file"),		VersionRange(CVersionInfo(0, 0, 0, 1), CVersionInfo(2,61,3,1508)));
/* TXTEX_IGNORE */ 	cl.AddIncompatibility(_T("pcdocs"),		VersionRange(CVersionInfo(0, 0, 0, 1), CVersionInfo(2,1,3,1508)));
/* TXTEX_IGNORE */ 	cl.AddIncompatibility(_T("livelink"),	VersionRange(CVersionInfo(0, 0, 0, 1), CVersionInfo(1,0,0,1508)));
/* TXTEX_IGNORE */ 	cl.AddIncompatibility(_T("documentum"),	VersionRange(CVersionInfo(0, 0, 0, 1), CVersionInfo(2,61,3,1508)));
/* TXTEX_IGNORE */ 	cl.AddIncompatibility(_T("worldox"),	VersionRange(CVersionInfo(0, 0, 0, 1), CVersionInfo(2,1,3,1508)));



	return cl;
}
コード例 #2
0
ファイル: servers.hpp プロジェクト: anyong298/BundleFusion
inline
Server::Server (const std::string& serviceName, int servicePort, objc_weak ServerDelegate* serverDelegate)
: ServicePublisher(servicePort)
, _listener (0)
, _port (servicePort)
, _serverDelegate (serverDelegate)
, _currentSession(0)
{
    ServiceEntry entry (serviceName, servicePort, VersionRange(
        UPLINK_SERVER_MINIMUM_VERSION_MAJOR,
        UPLINK_SERVER_MINIMUM_VERSION_MINOR,
        UPLINK_SERVER_MINIMUM_VERSION_MAJOR,
        UPLINK_SERVER_MINIMUM_VERSION_MINOR)
                                );
    serviceList.push_back (entry);
    ServicePublisher::start ();

    assert(0 != serverDelegate);
}