root/trunk/ssphys/SSPhysLib/SSTypes.cpp

Revision 247 (checked in by luedi, 4 years ago)

added new decoders for:

  • Archive File/Project
  • Restore File/Project
  • Archive Versions of file

actions

  • Property svn:mime-type set to text/plain
  • Property svn:eol-style set to native
Line 
1 // SSTypes.cpp:
2 //
3 //////////////////////////////////////////////////////////////////////
4
5 #include "StdAfx.h"
6 #include "SSTypes.h"
7
8 //---------------------------------------------------------------------------
9 extern const char* g_szActions[] = {
10   "Labeled",            // = 0
11   "Created Project",    // = 1
12   "Added Project",      // = 2
13   "Added File",         // = 3
14   "Destroyed Project",  // = 4
15   "Destroyed File",     // = 5
16   "Deleted Project",    // = 6
17   "Deleted File",       // = 7
18   "Recovered Project",  // = 8
19   "Recovered File",     // = 9
20   "Renamed Project",    // = 10
21   "Renamed File",       // = 11
22   "Moved Project From", // = 12
23   "Moved Project To",   // = 13
24   "Shared File",        // = 14
25   "Branch File",        // = 15
26   "Created File",       // = 16
27   "Checked In",         // = 17
28   "Action 18",          // missing action 18
29   "RollBack",           // = 19
30   "Archive Versions of File",  // = 20
31   "Action 19",          // missing action 19
32   "Archive File",      // = 22
33   "Archive Project",   // = 23
34   "Restored File",      // = 24
35   "Restored Project",   // = 25
36
37   /// --- pseudo actions ---
38   "Pinned File",        // = 26
39   "Unpinned File"       // = 27
40 };
41
42 const char* CAction::ActionToString (eAction e)
43 {
44   if (e < countof (g_szActions))
45     return g_szActions[e];
46   return ("unknown");
47 }
48
Note: See TracBrowser for help on using the browser.

PumaCode.org recommends CVSDude for fast, professional Subversion and Trac hosting:

CVSDude.com

These ads are automatically generated by Google. Revenue from these ads helps to pay for hosting this site; however, these ads do not constitute an endorsement by PumaCode.org.