SoContextHandler.h Source File

| http://www.sim.no/ http://www.coin3d.org/

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

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) by Kongsberg Oil & Gas Technologies.
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 Kongsberg Oil & Gas Technologies
20 * about acquiring a Coin Professional Edition License.
21 *
22 * See http://www.coin3d.org/ for more information.
23 *
24 * Kongsberg Oil & Gas Technologies, Bygdoy Alle 5, 0257 Oslo, 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
SoContextHandler
The SoContextHandler class is for now to be treated as an internal class.
Definition: SoContextHandler.h:31

Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.