Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fvbe.git;a=commitdiff;h=345354ccd886a4818082890ca562b06e2457e7e4
commit 345354ccd886a4818082890ca562b06e2457e7e4 Author: James Buren <[email protected]> Date: Mon Apr 28 07:46:48 2014 -0500 add virtual destruct for UI diff --git a/src-new/ui.cpp b/src-new/ui.cpp index 68c07e4..7ea68b6 100644 --- a/src-new/ui.cpp +++ b/src-new/ui.cpp @@ -6,6 +6,10 @@ #include "ui.hpp" // UI Class Start +UI::~UI() +{ +} + void UI::printError(const std::string &line) { std::cerr << line << std::endl; diff --git a/src-new/ui.hpp b/src-new/ui.hpp index 6c111a6..ac7d15a 100644 --- a/src-new/ui.hpp +++ b/src-new/ui.hpp @@ -5,6 +5,7 @@ class UI { public: + virtual ~UI(); void printError(const std::string &line); bool checkTTY(int fd); bool setSignalInterrupt(int sig, bool interrupt); @@ -22,5 +23,3 @@ class Widget static const unsigned char EXPAND_HORIZONTAL; static const unsigned char EXPAND_VERTICAL; }; - -extern UI *ui; _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
