//===============================================================
// 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 V_EXPORT vAppWinInfo
  {
    public:    //---------------------------------------- public

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

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

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

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

    private:   //--------------------------------------- private
  };
#endif
