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

SoContextHandler.h

00001 #ifndef COIN_SOCONTEXTHANDLER_H
00002 #define COIN_SOCONTEXTHANDLER_H
00003 
00004 #include <Inventor/SbBasic.h>
00005 
00006 /**************************************************************************\
00007  *
00008  *  This file is part of the Coin 3D visualization library.
00009  *  Copyright (C) 1998-2007 by Systems in Motion.  All rights reserved.
00010  *
00011  *  This library is free software; you can redistribute it and/or
00012  *  modify it under the terms of the GNU General Public License
00013  *  ("GPL") version 2 as published by the Free Software Foundation.
00014  *  See the file LICENSE.GPL at the root directory of this source
00015  *  distribution for additional information about the GNU GPL.
00016  *
00017  *  For using Coin with software that can not be combined with the GNU
00018  *  GPL, and for taking advantage of the additional benefits of our
00019  *  support services, please contact Systems in Motion about acquiring
00020  *  a Coin Professional Edition License.
00021  *
00022  *  See http://www.coin3d.org/ for more information.
00023  *
00024  *  Systems in Motion, Postboks 1283, Pirsenteret, 7462 Trondheim, NORWAY.
00025  *  http://www.sim.no/  sales@sim.no  coin-support@coin3d.org
00026  *
00027 \**************************************************************************/
00028 
00029 #include <Inventor/SbBasic.h>
00030 
00031 class COIN_DLL_API SoContextHandler {
00032 public:
00033   static void destructingContext(uint32_t contextid);
00034 
00035   typedef void ContextDestructionCB(uint32_t contextid, void * userdata);
00036   static void addContextDestructionCallback(ContextDestructionCB * func, void * closure);
00037   static void removeContextDestructionCallback(ContextDestructionCB * func, void * closure);
00038 };
00039 
00040 #endif // !COIN_SOCONTEXTHANDLER_H

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

Generated on Mon Feb 28 2011 10:11:54 for Coin by Doxygen. 1.7.3