Changeset 7449 in vbox for trunk/src/VBox/Additions/x11/xclient/clipboard.h
- Timestamp:
- Mar 14, 2008 6:12:27 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xclient/clipboard.h
r7264 r7449 20 20 # define __Additions_linux_clipboard_h 21 21 22 #include <VBox/log.h> 22 23 #include "thread.h" /* for VBoxGuestThread */ 23 24 … … 90 91 int init(void) 91 92 { 93 LogFlowThisFunc(("\n")); 92 94 int rc = mThreadFunction.init(); 93 95 if (RT_SUCCESS(rc)) … … 95 97 if (RT_SUCCESS(rc)) 96 98 mInit = true; 99 LogFlowThisFunc(("returning %Rrc\n", rc)); 97 100 return rc; 98 101 } … … 103 106 void uninit(unsigned cMillies = RT_INDEFINITE_WAIT) 104 107 { 108 LogFlowThisFunc(("\n")); 105 109 if (mInit) 106 110 mThread.stop(cMillies, NULL); 111 LogFlowThisFunc(("returning\n")); 107 112 } 108 113 … … 112 117 ~VBoxGuestClipboard() 113 118 { 119 LogFlowThisFunc(("\n")); 114 120 if (mInit) 115 121 try { 116 122 uninit(2000); 117 123 } catch (...) { } 124 LogFlowThisFunc(("returning\n")); 118 125 } 119 126 };
Note:
See TracChangeset
for help on using the changeset viewer.