Coin Logo http://www.sim.no
http://www.coin3d.org

SoContextHandler.h
1 #ifndef COIN_SOCONTEXTHANDLER_H
2 #define COIN_SOCONTEXTHANDLER_H
3 
4 #include <Inventor/SbBasic.h>
5 
6 /**************************************************************************\
7  *
8  * This file is part of the Coin 3D visualization library.
9  * Copyright (C) 1998-2007 by Systems in Motion. All rights reserved.
10  *
11  * This library is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * ("GPL") version 2 as published by the Free Software Foundation.
14  * See the file LICENSE.GPL at the root directory of this source
15  * distribution for additional information about the GNU GPL.
16  *
17  * For using Coin with software that can not be combined with the GNU
18  * GPL, and for taking advantage of the additional benefits of our
19  * support services, please contact Systems in Motion about acquiring
20  * a Coin Professional Edition License.
21  *
22  * See http://www.coin3d.org/ for more information.
23  *
24  * Systems in Motion, Postboks 1283, Pirsenteret, 7462 Trondheim, NORWAY.
25  * http://www.sim.no/ sales@sim.no coin-support@coin3d.org
26  *
27 \**************************************************************************/
28 
29 #include <Inventor/SbBasic.h>
30 
31 class COIN_DLL_API SoContextHandler {
32 public:
33  static void destructingContext(uint32_t contextid);
34 
35  typedef void ContextDestructionCB(uint32_t contextid, void * userdata);
36  static void addContextDestructionCallback(ContextDestructionCB * func, void * closure);
37  static void removeContextDestructionCallback(ContextDestructionCB * func, void * closure);
38 };
39 
40 #endif // !COIN_SOCONTEXTHANDLER_H
The SoContextHandler class is for now to be treated as an internal class.
Definition: SoContextHandler.h:31

Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.

Generated on Fri Feb 17 2017 for Coin by Doxygen. 1.8.13