File: vbasewin.cpp

package info (click to toggle)
v1 1.17-4
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 5,812 kB
  • ctags: 6,780
  • sloc: cpp: 43,604; ansic: 5,003; makefile: 955; sh: 30
file content (47 lines) | stat: -rw-r--r-- 1,495 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//===============================================================
// vbasewin.cxx - vBaseWindow class functions - X11R5
//
// Copyright (C) 1995,1996, 1997, 1998  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.
//===============================================================

#include <v/vwin32.h>		// for Win 32 stuff
#include <v/vbasewin.h>		// our header

//======================>>> vBaseWindow::vBaseWindow <<<=======================
  vBaseWindow::vBaseWindow(char *name) :
    vBaseItem(name)
  {

    SysDebug1(Constructor,"vBaseWindow::vBaseWindow(%s) constructor\n", name)

    _myHwnd = 0;			// null the main window
  }

//======================>>> vBaseWindow::vBaseWindow <<<=======================
  vBaseWindow::vBaseWindow(const vBaseWindow& w) :
    vBaseItem(w)
  {
    vSysError("vBaseWindow: V Semantics do not allow copy constructors.");
  }

//====================>>> vBaseWindow::~vBaseWindow <<<=======================
  vBaseWindow::~vBaseWindow(void)
  {

    SysDebug(Destructor,"vBaseWindow::~vBaseWindow destructor\n")

  }

//======================>>> vWindow::closeBaseWindow <<<=======================
  void vBaseWindow::closeBaseWindow(void)
  {
    if (_vHandle != 0)
      {
	_vHandle = 0;			// and mark our handle null
      }
  }