/* * ==================================================================== * Copyright (c) 2002-2006 The RapidSvn Group. All rights reserved. * * This program 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; either version 2 of the License, or * (at your option) any later version. * * This program 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 this program (in the file GPL.txt); if not, write to * the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301 USA * * This software consists of voluntary contributions made by many * individuals. For exact contribution history, see the revision * history and logs, available at http://rapidsvn.tigris.org/. * ==================================================================== */ #ifndef _IDS_H_INCLUDED_ #define _IDS_H_INCLUDED_ // wxWidgets #include "wx/defs.h" /* * Menu commands IDs */ enum { // rapidsvn_frame ID_Quit = wxID_HIGHEST, ID_About, ID_Refresh, ID_RefreshWithUpdate, ID_ShowUnversioned, ID_IgnoreExternals, ID_HelpContents, ID_HelpIndex, ID_HelpStartupTips, ID_TestNewWxString, ID_TestListener, ID_TestCheckout, ID_Preferences, ID_AddWcBookmark, ID_AddRepoBookmark, ID_RemoveBookmark, ID_EditBookmark, ID_Info, ID_Login, ID_Logout, ID_Flat, ID_Stop, ID_Open, ID_File_Min, ID_Add, ID_AddRecursive, ID_CreateRepository, ID_Checkout, ID_Cleanup, ID_Copy, ID_Commit, ID_Default_Action, ID_Delete, ID_Diff, ID_DiffBase, ID_DiffHead, ID_Explore, ID_Export, ID_Import, ID_Lock, ID_Log, ID_Merge, ID_Mkdir, ID_Move, ID_Property, ID_Rename, ID_Resolve, ID_Revert, ID_Switch, ID_Update, ID_Unlock, ID_Edit, ID_Annotate, ID_File_Max, // Reserve space for 16 file verbs (I've never seen any files with more) ID_Verb_Min, ID_Verb_Max = ID_Verb_Min + 16, ID_Column_Reset, ID_Include_Path, ID_Sort_Ascending, ID_Column_Min, ID_Column_Name, ID_Column_Path, ID_Column_Rev, ID_Column_Cmt_Rev, ID_Column_Author, ID_Column_Text_Status, ID_Column_Prop_Status, ID_Column_Cmt_Date, ID_Column_Extension, ID_Column_Text_Time, ID_Column_Prop_Time, ID_Column_LockOwner, ID_Column_LockComment, ID_Column_Checksum, ID_Column_Url, ID_Column_Repos, ID_Column_Uuid, ID_Column_Schedule, ID_Column_Copied, // combination of isCopied + copyfromUrl ID_Column_ConflictOld, ID_Column_ConflictNew, ID_Column_ConflictWrk, ID_Column_Max, /** * ATTENTION! * * Don't forget to update ID_Column_* and ID_ColumnSort_* * whenever changing one of them or making changes to * the order of column in src/columns.cpp. * This order should be the same in all 3 cases. */ ID_ColumnSort_Min, ID_ColumnSort_Name, ID_ColumnSort_Path, ID_ColumnSort_Rev, ID_ColumnSort_Cmt_Rev, ID_ColumnSort_Author, ID_ColumnSort_Text_Status, ID_ColumnSort_Prop_Status, ID_ColumnSort_Cmt_Date, ID_ColumnSort_Extension, ID_ColumnSort_Text_Time, ID_ColumnSort_Prop_Time, ID_ColumnSort_LockOwner, ID_ColumnSort_LockComment, ID_ColumnSort_Checksum, ID_ColumnSort_Url, ID_ColumnSort_Repos, ID_ColumnSort_Uuid, ID_ColumnSort_Schedule, ID_ColumnSort_Copied, // combination of isCopied + copyfromUrl ID_ColumnSort_ConflictOld, ID_ColumnSort_ConflictNew, ID_ColumnSort_ConflictWrk, ID_ColumnSort_Max, ACTION_EVENT, // this one gets sent from the action threads // Ids used for communication events between threads and frame TOKEN_INFO, TOKEN_ERROR, TOKEN_SVN_INTERNAL_ERROR, TOKEN_INTERNAL_ERROR, TOKEN_ACTION_START, TOKEN_ACTION_END, TOKEN_CMD, TOKEN_CMD_DIFF, TOKEN_CMD_VIEW, TOKEN_DIFF, TOKEN_GET, TOKEN_VIEW, TOKEN_MERGE, TOKEN_ADD_BOOKMARK, TOKEN_DELETE_ACTION, TOKEN_UPDATE_SORTING, TOKEN_UPDATE_ASCENDING, TOKEN_ANNOTATE, TOKEN_LOG, LISTENER_MIN, SIG_GET_LOG_MSG, SIG_GET_LOGIN, SIG_SSL_SERVER_TRUST_PROMPT, SIG_SSL_CLIENT_CERT_PROMPT, SIG_SSL_CLIENT_CERT_PW_PROMPT, LISTENER_MAX, FILELIST_CTRL, FOLDER_BROWSER }; #endif /* ----------------------------------------------------------------- * local variables: * eval: (load-file "../rapidsvn-dev.el") * end: */