File indexing completed on 2024-05-12 05:40:38

0001 /*
0002     Cahoots is a crossplatform real-time collaborative text editor.
0003 
0004     Copyright (C) 2010 Chris Dimpfl, Anandi Hira, David Vega
0005 
0006     This program is free software: you can redistribute it and/or modify
0007     it under the terms of the GNU General Public License as published by
0008     the Free Software Foundation, either version 3 of the License, or
0009     (at your option) any later version.
0010 
0011     This program is distributed in the hope that it will be useful,
0012     but WITHOUT ANY WARRANTY; without even the implied warranty of
0013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0014     GNU General Public License for more details.
0015 
0016     You should have received a copy of the GNU General Public License
0017     along with this program.  If not, see <http://www.gnu.org/licenses/>.
0018 */
0019 #ifndef ENU_H
0020 #define ENU_H
0021 
0022 namespace Enu
0023 {
0024     // Instruction mnemonics
0025     enum Connection
0026     {
0027         GET,
0028         JOIN,
0029         LEAVE,
0030     };
0031 
0032     enum FindMode
0033     {
0034         Contains,
0035         StartsWith,
0036         EntireWord,
0037     };
0038 
0039     enum Permissions
0040     {
0041         ReadWrite= 2,
0042         ReadOnly= 1,
0043         Waiting= 0,
0044 
0045         Owner= 1,
0046     };
0047 
0048 } // namespace Enu
0049 
0050 #endif // ENU_H