Changed: #825 Remove all warnings when compiling Ryzom

This commit is contained in:
kervala 2012-04-07 23:47:55 +02:00
parent 9d834ab2e3
commit bac5b8d084
9 changed files with 13 additions and 2 deletions

View file

@ -58,6 +58,7 @@ protected:
// protect from untrolled instantiation
// this method registers the singleton with the singleton registry
IServiceSingleton();
virtual ~IServiceSingleton() {}
private:
// prohibit copy

View file

@ -38,6 +38,7 @@ class CGameItemPtr;
class IPVPInterface : public NLMISC::CRefCount
{
public:
virtual ~IPVPInterface() {}
///\name PVP MODE FEATURES DEPENDANTS
//@{
/// return pvp relation between the two players
@ -61,8 +62,6 @@ public:
/// killed character in PvP faction
virtual void characterKilledInPvPFaction( CCharacter * character, PVP_CLAN::TPVPClan looserFaction, sint32 factionPoint ) const = 0;
//@}
private:
};
#endif // RY_PVP_INTERFACE_H

View file

@ -93,6 +93,7 @@ namespace GUS
class IConnectionHandler: public NLMISC::CRefCount
{
public:
virtual ~IConnectionHandler() {}
virtual void connect(TClientId)=0;
virtual void disconnect(TClientId)=0;
};

View file

@ -68,6 +68,8 @@ namespace SAVES
class CRemoteSavesManager: public NLMISC::CRefCount
{
public:
virtual ~CRemoteSavesManager() {}
static CRemoteSavesManager* getInstance();
// interface used by CRemoteSavesInterface objects in their ctor to declare themselves

View file

@ -141,6 +141,9 @@ namespace SAVES
// ctor
ISavesUnitElement();
// dtor
virtual ~ISavesUnitElement() {}
// perform the 'rescan' operation for this element - verify whether anything has changed
// the parent parameter is used to supply addNew(), addChange() and addDeleted() methods
// to signal any detected changes

View file

@ -38,6 +38,8 @@ namespace PATCHMAN
class CPatchmanTester
{
public:
virtual ~CPatchmanTester() {}
// this is a singleton so it has a getInstance() method to get to the singleton instance
static CPatchmanTester& getInstance();

View file

@ -39,6 +39,7 @@ class CStatsScanCharacter;
class ICharFilter: public NLMISC::CRefCount
{
public:
virtual ~ICharFilter() {}
virtual std::string toString() const=0;
virtual bool evaluate(const CStatsScanCharacter* c)=0;
};

View file

@ -41,6 +41,7 @@ class CStatsScanCharacter;
class ICharInfoExtractor: public NLMISC::CRefCount
{
public:
virtual ~ICharInfoExtractor() {}
virtual std::string toString() const=0;
virtual void execute(CCharacterScanJob* job,const CStatsScanCharacter* c)=0;
};

View file

@ -97,6 +97,7 @@ private:
class ICharScanScriptCommand: public NLMISC::CRefCount
{
public:
virtual ~ICharScanScriptCommand() {}
virtual const char* getName()=0;
virtual const char* getSyntax()=0;
virtual const char* getDescription()=0;