ircproxy The Ultimate Cyborg |
00001 // ircproxy -- An IRC bouncer. 00002 // 00003 //! @file Priority.h 00004 //! @brief This file contains the declaration of class Priority. 00005 // 00006 // Copyright (C) 2006, 2007 by 00007 // 00008 // Carlo Wood, Run on IRC <carlo@alinoe.com> 00009 // RSA-1024 0x624ACAD5 1997-01-26 Sign & Encrypt 00010 // Fingerprint16 = 32 EC A7 B6 AC DB 65 A6 F6 F6 55 DD 1C DC FF 61 00011 // 00012 // This file may be distributed under the terms of the Q Public License 00013 // version 1.0 as appearing in the file LICENSE.QPL included in the 00014 // packaging of this file. 00015 00016 #ifndef PRIORITY_H 00017 #define PRIORITY_H 00018 00019 //! @brief A message priority. 00020 class Priority { 00021 //! Returns true if priority of \a priority1 is less than the priority of \a priority2. 00022 friend bool operator<(Priority const& LIBCW_UNUSED(priority1), Priority const& LIBCW_UNUSED(priority2)) 00023 { return false; /* FIXME */ } 00024 friend bool operator==(Priority const& LIBCW_UNUSED(priority1), Priority const& LIBCW_UNUSED(priority2)) 00025 { return true; /* FIXME */ } 00026 }; 00027 00028 Priority default_priority(int command); 00029 00030 #endif // PRIORITY_H
Copyright © 2005-2007 Carlo Wood. All rights reserved. |
---|