Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Examples

# defs.h

Go to the documentation of this file.

    00001 // -*- C++ -*-
    00002 /* gtkglextmm - C++ Wrapper for GtkGLExt
    00003  * Copyright (C) 2002-2003  Naofumi Yasufuku
    00004  *
    00005  * This library is free software; you can redistribute it and/or
    00006  * modify it under the terms of the GNU Lesser General Public
    00007  * License as published by the Free Software Foundation; either
    00008  * version 2.1 of the License, or (at your option) any later version.
    00009  *
    00010  * This library is distributed in the hope that it will be useful,
    00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00013  * Lesser General Public License for more details.
    00014  *
    00015  * You should have received a copy of the GNU Lesser General Public
    00016  * License along with this library; if not, write to the Free Software
    00017  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA.
    00018  */
    00019
    00020 #ifndef _GTKMM_GL_DEFS_H
    00021 #define _GTKMM_GL_DEFS_H
    00022
    00023 #include <glibmmconfig.h>
    00024
    00025 #ifdef GTKMM_WIN32
    00026 #  ifdef GTKMM_GL_COMPILATION
    00027 #    define GTKMM_GL_VAR extern __declspec(dllexport)
    00028 #  else
    00029 #    define GTKMM_GL_VAR extern __declspec(dllimport)
    00030 #  endif
    00031 #else
    00032 #  define GTKMM_GL_VAR extern
    00033 #endif
    00034
    00035 #endif // _GTKMM_GL_DEFS_H