Add Dirk Luetjen's ssphys libraries and command-line tool
[vss2svn.git] / ssphys / SSPhysLib / SSTypes.cpp
blobf8adf39b9411dfa4b57e19493dd57eca00efdbe9
1 // SSTypes.cpp:
2 //
3 //////////////////////////////////////////////////////////////////////
5 #include "StdAfx.h"
6 #include "SSTypes.h"
8 //---------------------------------------------------------------------------
9 extern 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 "Action 12", // missing action 12
23 "Action 13", // missing action 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 // missing known actions: branches, archives, restores
33 const char* CAction::ActionToString (eAction e)
35 if (e < countof (g_szActions))
36 return g_szActions[e];
37 return ("unknown");