File indexing completed on 2025-01-18 10:14:23
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031 #ifndef _SM_H_
0032 #define _SM_H_
0033
0034
0035
0036
0037
0038 #define SmProtoMajor 1
0039 #define SmProtoMinor 0
0040
0041
0042
0043
0044
0045
0046 #define SmInteractStyleNone 0
0047 #define SmInteractStyleErrors 1
0048 #define SmInteractStyleAny 2
0049
0050
0051
0052
0053
0054
0055 #define SmDialogError 0
0056 #define SmDialogNormal 1
0057
0058
0059
0060
0061
0062
0063 #define SmSaveGlobal 0
0064 #define SmSaveLocal 1
0065 #define SmSaveBoth 2
0066
0067
0068
0069
0070
0071
0072 #define SmRestartIfRunning 0
0073 #define SmRestartAnyway 1
0074 #define SmRestartImmediately 2
0075 #define SmRestartNever 3
0076
0077
0078
0079
0080
0081
0082 #define SmCloneCommand "CloneCommand"
0083 #define SmCurrentDirectory "CurrentDirectory"
0084 #define SmDiscardCommand "DiscardCommand"
0085 #define SmEnvironment "Environment"
0086 #define SmProcessID "ProcessID"
0087 #define SmProgram "Program"
0088 #define SmRestartCommand "RestartCommand"
0089 #define SmResignCommand "ResignCommand"
0090 #define SmRestartStyleHint "RestartStyleHint"
0091 #define SmShutdownCommand "ShutdownCommand"
0092 #define SmUserID "UserID"
0093
0094
0095
0096
0097
0098
0099 #define SmCARD8 "CARD8"
0100 #define SmARRAY8 "ARRAY8"
0101 #define SmLISTofARRAY8 "LISTofARRAY8"
0102
0103
0104
0105
0106
0107
0108 #define SM_Error 0
0109 #define SM_RegisterClient 1
0110 #define SM_RegisterClientReply 2
0111 #define SM_SaveYourself 3
0112 #define SM_SaveYourselfRequest 4
0113 #define SM_InteractRequest 5
0114 #define SM_Interact 6
0115 #define SM_InteractDone 7
0116 #define SM_SaveYourselfDone 8
0117 #define SM_Die 9
0118 #define SM_ShutdownCancelled 10
0119 #define SM_CloseConnection 11
0120 #define SM_SetProperties 12
0121 #define SM_DeleteProperties 13
0122 #define SM_GetProperties 14
0123 #define SM_PropertiesReply 15
0124 #define SM_SaveYourselfPhase2Request 16
0125 #define SM_SaveYourselfPhase2 17
0126 #define SM_SaveComplete 18
0127
0128 #endif