VirtualBox

source: vbox/trunk/src/VBox/Frontends/VBoxBFE/AutoCaller.h@ 35273

Last change on this file since 35273 was 32817, checked in by vboxsync, 14 years ago

Main: some locking and readability clean-up of MouseImpl

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
1/** @file
2 *
3 * VBox frontends: Basic Frontend (BFE):
4 * VirtualBox COM base class stubs
5 */
6
7/*
8 * Copyright (C) 2006-2009 Oracle Corporation
9 *
10 * This file is part of VirtualBox Open Source Edition (OSE), as
11 * available from http://www.virtualbox.org. This file is free software;
12 * you can redistribute it and/or modify it under the terms of the GNU
13 * General Public License (GPL) as published by the Free Software
14 * Foundation, in version 2 as it comes in the "COPYING" file of the
15 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
16 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
17 */
18
19#ifndef ____H_AUTOCALLER
20#define ____H_AUTOCALLER
21
22#define COMMA_LOCKVAL_SRC_POS
23
24class AutoInitSpan
25{
26public:
27 AutoInitSpan(VirtualBoxBase *) {}
28 bool isOk() { return true; }
29 void setSucceeded() {}
30};
31
32class AutoUninitSpan
33{
34public:
35 AutoUninitSpan(VirtualBoxBase *) {}
36 bool uninitDone() { return false; }
37};
38
39class AutoCaller
40{
41public:
42 AutoCaller(VirtualBoxBase *) {}
43 int rc() { return S_OK; }
44};
45
46class AutoReadLock
47{
48public:
49 AutoReadLock(VirtualBoxBase *) {}
50};
51
52class AutoWriteLock
53{
54public:
55 AutoWriteLock(VirtualBoxBase *) {}
56};
57
58#endif // !____H_AUTOCALLER
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use