[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / dep / ACE_wrappers / ace / Flag_Manip.h
blob0457dcb4d956cc3841bc5b9982bc1d576c6c8422
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Flag_Manip.h
7 * $Id: Flag_Manip.h 80826 2008-03-04 14:51:23Z wotte $
9 * This class includes the functions used for the Flag Manipulation.
11 * @author Priyanka Gontla <pgontla@doc.ece.uci.edu>
13 //=============================================================================
15 #ifndef ACE_FLAG_MANIP_H
16 #define ACE_FLAG_MANIP_H
18 #include /**/ "ace/pre.h"
20 #include /**/ "ace/ACE_export.h"
22 #if !defined (ACE_LACKS_PRAGMA_ONCE)
23 # pragma once
24 #endif /* ACE_LACKS_PRAGMA_ONCE */
26 #include "ace/Global_Macros.h"
27 #include "ace/os_include/os_fcntl.h" /* For values passed to these methods */
29 #if defined (ACE_EXPORT_MACRO)
30 # undef ACE_EXPORT_MACRO
31 #endif
32 #define ACE_EXPORT_MACRO ACE_Export
34 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
36 namespace ACE
38 // = Set/get/clear various flags related to I/O HANDLE.
39 /// Set flags associated with @a handle.
40 extern ACE_Export int set_flags (ACE_HANDLE handle,
41 int flags);
43 /// Clear flags associated with @a handle.
44 extern ACE_Export int clr_flags (ACE_HANDLE handle,
45 int flags);
47 /// Return the current setting of flags associated with @a handle.
48 ACE_NAMESPACE_INLINE_FUNCTION int get_flags (ACE_HANDLE handle);
51 ACE_END_VERSIONED_NAMESPACE_DECL
53 #if defined (__ACE_INLINE__)
54 #include "ace/Flag_Manip.inl"
55 #endif /* __ACE_INLINE__ */
57 #include /**/ "ace/post.h"
58 #endif /* ACE_FLAG_MANIP_H */