// enums.h - Application-wide Enumerators. // // (c) 2012-2015 Xestia Software Development. // // This file is part of Xestia Address Book. // // Xestia Address Book is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by the // Free Software Foundation, version 3 of the license. // // Xestia Address Book is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License along // with Xestia Address Book. If not, see #include #ifndef ENUMS_H #define ENUMS_H enum SectionType { CE_GENERAL, CE_HOME, CE_WORK }; #define AM_ADDCONTACT 0; #define AM_EDITCONTACT 1; #define AM_DELETECONTACT 2; #define AM_GETALLCONTACTS 3; // Related type setup - Also with ints for pointing in frmContactEditorRelated. /* enum RelatedType { CE_CONTACT, CE_ACQUAINTANCE, CE_FRIEND, CE_MET, CE_COWORKER, CE_COLLEAGUE, CE_CORESIDENT, CE_NEIGHBOR, CE_CHILD, CE_PARENT, CE_SIBLING, CE_SPOUSE, CE_KIN, CE_MUSE, CE_CRUSH, CE_DATE, CE_SWEETHEART, CE_ME, CE_AGENT, CE_EMERGENCY }; int TypeCEContact = CE_CONTACT; int TypeCEAcquaintance = CE_ACQUAINTANCE; int TypeCEFriend = CE_FRIEND; int TypeCEMet = CE_MET; int TypeCECoworker = CE_COWORKER; int TypeCEColleague = CE_COLLEAGUE; int TypeCECoresident = CE_CORESIDENT; int TypeCENeighbor = CE_NEIGHBOR; int TypeCEChild = CE_CHILD; int TypeCEParent = CE_PARENT; int TypeCESibling = CE_SIBLING; int TypeCESpouse = CE_SPOUSE; int TypeCEKin = CE_KIN; int TypeCEMuse = CE_MUSE; int TypeCECrush = CE_CRUSH; int TypeCEDate = CE_DATE; int TypeCESweetheart = CE_SWEETHEART; int TypeCEMe = CE_ME; int TypeCEAgent = CE_AGENT; int TypeCEEmergency = CE_EMERGENCY; */ #endif