OLD | NEW |
| (Empty) |
1 // Copyright 2010 The Ginsu Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can | |
3 // be found in the LICENSE file. | |
4 | |
5 #ifndef C_SALT_SCRIPTING_BRIDGE_PTRS_H_ | |
6 #define C_SALT_SCRIPTING_BRIDGE_PTRS_H_ | |
7 | |
8 // A convenience wrapper for a shared ScriptingBridge pointer type. As other | |
9 // smart pointer types are needed, add them here. | |
10 | |
11 #include "boost/shared_ptr.hpp" | |
12 #include "boost/weak_ptr.hpp" | |
13 | |
14 namespace c_salt { | |
15 | |
16 class ScriptingBridge; | |
17 | |
18 typedef boost::shared_ptr<ScriptingBridge> SharedScriptingBridge; | |
19 typedef boost::weak_ptr<ScriptingBridge> WeakScriptingBridge; | |
20 | |
21 } // namespace c_salt | |
22 | |
23 #endif // C_SALT_SCRIPTING_BRIDGE_PTRS_H_ | |
OLD | NEW |