Huggle  build:^490^dce1e5c
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
iextension.cpp
1 //This program is free software: you can redistribute it and/or modify
2 //it under the terms of the GNU General Public License as published by
3 //the Free Software Foundation, either version 3 of the License, or
4 //(at your option) any later version.
5 
6 //This program is distributed in the hope that it will be useful,
7 //but WITHOUT ANY WARRANTY; without even the implied warranty of
8 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 //GNU General Public License for more details.
10 
11 #include "iextension.hpp"
12 
13 using namespace Huggle;
14 QList<iExtension*> iExtension::Extensions;
15 
16 iExtension::iExtension()
17 {
18  this->ExtensionAuthor = "Unknown";
19  this->ExtensionDescription = "None";
20  this->ExtensionVersion = "0";
21  this->ExtensionName = "Unknown";
22  this->Working = true;
23  iExtension::Extensions.append(this);
24 }
25 
27 {
28  return this->Working;
29 }
30 
31 iExtension::~iExtension()
32 {
33  if (iExtension::Extensions.contains(this))
34  {
35  iExtension::Extensions.removeAll(this);
36  }
37 }
bool IsWorking()
IsWorking.
Definition: iextension.cpp:26