*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
// -*- C++ -*-
|
||||
|
||||
//==========================================================================
|
||||
/**
|
||||
* @file SV_Message.h
|
||||
@@ -10,20 +9,14 @@
|
||||
*/
|
||||
//==========================================================================
|
||||
|
||||
|
||||
#ifndef ACE_SV_MESSAGE_H
|
||||
#define ACE_SV_MESSAGE_H
|
||||
|
||||
#include /**/ "ace/pre.h"
|
||||
|
||||
#include /**/ "ace/ACE_export.h"
|
||||
|
||||
#if !defined (ACE_LACKS_PRAGMA_ONCE)
|
||||
# pragma once
|
||||
#endif /* ACE_LACKS_PRAGMA_ONCE */
|
||||
|
||||
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
/**
|
||||
* @class ACE_SV_Message
|
||||
*
|
||||
@@ -34,35 +27,25 @@ class ACE_Export ACE_SV_Message
|
||||
public:
|
||||
/// Constructor
|
||||
ACE_SV_Message (long type = 0);
|
||||
|
||||
/// Destructor
|
||||
~ACE_SV_Message (void);
|
||||
|
||||
/// Get the message type.
|
||||
long type (void) const;
|
||||
|
||||
/// Set the message type.
|
||||
void type (long);
|
||||
|
||||
/// Dump the state of an object.
|
||||
void dump (void) const;
|
||||
|
||||
/// Declare the dynamic allocation hooks.
|
||||
ACE_ALLOC_HOOK_DECLARE;
|
||||
|
||||
protected:
|
||||
/// Type of the message.
|
||||
long type_;
|
||||
};
|
||||
|
||||
ACE_END_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
|
||||
#if defined (__ACE_INLINE__)
|
||||
#include "ace/SV_Message.inl"
|
||||
#endif /* __ACE_INLINE__ */
|
||||
|
||||
#include /**/ "ace/post.h"
|
||||
|
||||
#endif /* ACE_SV_MESSAGE_H */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user