rename header files from *.h to *.hpp

This commit is contained in:
Rasmus Karlsson
2017-06-11 09:31:45 +02:00
parent 961f22819e
commit 1c6ff37e76
104 changed files with 327 additions and 326 deletions
+43
View File
@@ -0,0 +1,43 @@
#pragma once
#include "widgets/notebook.hpp"
#include "widgets/titlebar.hpp"
#ifdef USEWINSDK
#include <platform/borderless/qwinwidget.h>
#endif
#include <QMainWindow>
#include <boost/property_tree/ptree.hpp>
namespace chatterino {
namespace widgets {
class MainWindow : public QWidget
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
void layoutVisibleChatWidgets(Channel *channel = nullptr);
void repaintVisibleChatWidgets(Channel *channel = nullptr);
void repaintGifEmotes();
void load(const boost::property_tree::ptree &tree);
boost::property_tree::ptree save();
void loadDefaults();
bool isLoaded() const;
Notebook &getNotebook();
private:
Notebook _notebook;
bool _loaded;
TitleBar _titleBar;
};
} // namespace widgets
} // namespace chatterino