//===============================================================
// vawinfo.h - vAppWinInfo utility class for tracking windows
//
// Copyright (C) 1995,1996  Bruce E. Wampler
//
// This file is part of the V C++ GUI Framework, and is covered
// under the terms of the GNU Library General Public License,
// Version 2. This library has NO WARRANTY. See the source file
// vapp.cxx for more complete information about license terms.
//===============================================================

#ifndef VAWINFO_H
#define VAWINFO_H

#include <v/v_defs.h>	// include basic defs

    class vAppWinInfo
      {
      public:		//---------------------------------------- public

	vAppWinInfo(const char* name = "", VCONST void* ptr = 0);
	virtual ~vAppWinInfo();

	virtual const char* infoName() {return (const char*)_infoName;}
  	virtual VCONST void* getPtr() {return _ptr; }

      protected:	//--------------------------------------- protected

	char*	_infoName;		// name of item
	VCONST void* _ptr;			// general purpose utility ptr

      private:		//--------------------------------------- private

      };
#endif
