ROOT logo
// $Id: AlContext.h 2304 2009-12-25 20:55:53Z matevz $

// Copyright (C) 1999-2008, Matevz Tadel. All rights reserved.
// This file is part of GLED, released under GNU General Public License version 2.
// For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/.

#ifndef Audio1_AlContext_H
#define Audio1_AlContext_H

#include <Glasses/ZNode.h>

#ifndef __CINT__
#include <AL/alut.h>
#else
class ALCdevice;
class ALCcontext;
#endif

class AlContext : public ZNode
{
  MAC_RNR_FRIENDS(AlContext);

private:
  void _init();

protected:
  ALCdevice*  mDevice;  //! X{g}
  ALCcontext* mContext; //! X{g}

public:
  AlContext(const Text_t* n="AlContext", const Text_t* t=0) :
    ZNode(n,t) { _init(); }

  void Open();  // X{E}  7 MButt(-join=>1)
  void Close(); // X{E}  7 MButt()

#include "AlContext.h7"
  ClassDef(AlContext, 1);
}; // endclass AlContext


#endif
 AlContext.h:1
 AlContext.h:2
 AlContext.h:3
 AlContext.h:4
 AlContext.h:5
 AlContext.h:6
 AlContext.h:7
 AlContext.h:8
 AlContext.h:9
 AlContext.h:10
 AlContext.h:11
 AlContext.h:12
 AlContext.h:13
 AlContext.h:14
 AlContext.h:15
 AlContext.h:16
 AlContext.h:17
 AlContext.h:18
 AlContext.h:19
 AlContext.h:20
 AlContext.h:21
 AlContext.h:22
 AlContext.h:23
 AlContext.h:24
 AlContext.h:25
 AlContext.h:26
 AlContext.h:27
 AlContext.h:28
 AlContext.h:29
 AlContext.h:30
 AlContext.h:31
 AlContext.h:32
 AlContext.h:33
 AlContext.h:34
 AlContext.h:35
 AlContext.h:36
 AlContext.h:37
 AlContext.h:38
 AlContext.h:39
 AlContext.h:40
 AlContext.h:41
 AlContext.h:42