mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-26 00:36:17 +00:00
Changed: #825 Remove all warnings when compiling Ryzom
This commit is contained in:
parent
c4866c172b
commit
664eff8135
9 changed files with 13 additions and 2 deletions
|
@ -58,6 +58,7 @@ protected:
|
||||||
// protect from untrolled instantiation
|
// protect from untrolled instantiation
|
||||||
// this method registers the singleton with the singleton registry
|
// this method registers the singleton with the singleton registry
|
||||||
IServiceSingleton();
|
IServiceSingleton();
|
||||||
|
virtual ~IServiceSingleton() {}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// prohibit copy
|
// prohibit copy
|
||||||
|
|
|
@ -38,6 +38,7 @@ class CGameItemPtr;
|
||||||
class IPVPInterface : public NLMISC::CRefCount
|
class IPVPInterface : public NLMISC::CRefCount
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~IPVPInterface() {}
|
||||||
///\name PVP MODE FEATURES DEPENDANTS
|
///\name PVP MODE FEATURES DEPENDANTS
|
||||||
//@{
|
//@{
|
||||||
/// return pvp relation between the two players
|
/// return pvp relation between the two players
|
||||||
|
@ -61,8 +62,6 @@ public:
|
||||||
/// killed character in PvP faction
|
/// killed character in PvP faction
|
||||||
virtual void characterKilledInPvPFaction( CCharacter * character, PVP_CLAN::TPVPClan looserFaction, sint32 factionPoint ) const = 0;
|
virtual void characterKilledInPvPFaction( CCharacter * character, PVP_CLAN::TPVPClan looserFaction, sint32 factionPoint ) const = 0;
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // RY_PVP_INTERFACE_H
|
#endif // RY_PVP_INTERFACE_H
|
||||||
|
|
|
@ -93,6 +93,7 @@ namespace GUS
|
||||||
class IConnectionHandler: public NLMISC::CRefCount
|
class IConnectionHandler: public NLMISC::CRefCount
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~IConnectionHandler() {}
|
||||||
virtual void connect(TClientId)=0;
|
virtual void connect(TClientId)=0;
|
||||||
virtual void disconnect(TClientId)=0;
|
virtual void disconnect(TClientId)=0;
|
||||||
};
|
};
|
||||||
|
|
|
@ -68,6 +68,8 @@ namespace SAVES
|
||||||
class CRemoteSavesManager: public NLMISC::CRefCount
|
class CRemoteSavesManager: public NLMISC::CRefCount
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~CRemoteSavesManager() {}
|
||||||
|
|
||||||
static CRemoteSavesManager* getInstance();
|
static CRemoteSavesManager* getInstance();
|
||||||
|
|
||||||
// interface used by CRemoteSavesInterface objects in their ctor to declare themselves
|
// interface used by CRemoteSavesInterface objects in their ctor to declare themselves
|
||||||
|
|
|
@ -141,6 +141,9 @@ namespace SAVES
|
||||||
// ctor
|
// ctor
|
||||||
ISavesUnitElement();
|
ISavesUnitElement();
|
||||||
|
|
||||||
|
// dtor
|
||||||
|
virtual ~ISavesUnitElement() {}
|
||||||
|
|
||||||
// perform the 'rescan' operation for this element - verify whether anything has changed
|
// perform the 'rescan' operation for this element - verify whether anything has changed
|
||||||
// the parent parameter is used to supply addNew(), addChange() and addDeleted() methods
|
// the parent parameter is used to supply addNew(), addChange() and addDeleted() methods
|
||||||
// to signal any detected changes
|
// to signal any detected changes
|
||||||
|
|
|
@ -38,6 +38,8 @@ namespace PATCHMAN
|
||||||
class CPatchmanTester
|
class CPatchmanTester
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~CPatchmanTester() {}
|
||||||
|
|
||||||
// this is a singleton so it has a getInstance() method to get to the singleton instance
|
// this is a singleton so it has a getInstance() method to get to the singleton instance
|
||||||
static CPatchmanTester& getInstance();
|
static CPatchmanTester& getInstance();
|
||||||
|
|
||||||
|
|
|
@ -39,6 +39,7 @@ class CStatsScanCharacter;
|
||||||
class ICharFilter: public NLMISC::CRefCount
|
class ICharFilter: public NLMISC::CRefCount
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~ICharFilter() {}
|
||||||
virtual std::string toString() const=0;
|
virtual std::string toString() const=0;
|
||||||
virtual bool evaluate(const CStatsScanCharacter* c)=0;
|
virtual bool evaluate(const CStatsScanCharacter* c)=0;
|
||||||
};
|
};
|
||||||
|
|
|
@ -41,6 +41,7 @@ class CStatsScanCharacter;
|
||||||
class ICharInfoExtractor: public NLMISC::CRefCount
|
class ICharInfoExtractor: public NLMISC::CRefCount
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~ICharInfoExtractor() {}
|
||||||
virtual std::string toString() const=0;
|
virtual std::string toString() const=0;
|
||||||
virtual void execute(CCharacterScanJob* job,const CStatsScanCharacter* c)=0;
|
virtual void execute(CCharacterScanJob* job,const CStatsScanCharacter* c)=0;
|
||||||
};
|
};
|
||||||
|
|
|
@ -97,6 +97,7 @@ private:
|
||||||
class ICharScanScriptCommand: public NLMISC::CRefCount
|
class ICharScanScriptCommand: public NLMISC::CRefCount
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~ICharScanScriptCommand() {}
|
||||||
virtual const char* getName()=0;
|
virtual const char* getName()=0;
|
||||||
virtual const char* getSyntax()=0;
|
virtual const char* getSyntax()=0;
|
||||||
virtual const char* getDescription()=0;
|
virtual const char* getDescription()=0;
|
||||||
|
|
Loading…
Reference in a new issue