-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.cpp
More file actions
33 lines (22 loc) · 659 Bytes
/
Main.cpp
File metadata and controls
33 lines (22 loc) · 659 Bytes
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
#include <iostream>
#include <vector>
#include <string>
#include "BatteryStatus.h"
#if defined(_WIN32) || defined(_WIN64)
#include <Windows.h>
#elif defined(__linux__)
#include <unistd.h>
#endif
#include <QApplication>
#include "NotificationWindow.h"
int main(int argc, char *argv[]) {
QApplication app(argc, argv);
NotificationWindow notificationWindow;
notificationWindow.resize(200, 100);
// struct BatteryStatusRecord { // TODO: Implement this?
// int batteryLevel = -1;
// bool isCharging = false;
// } batteryStatusRecord;
// std::vector<BatteryStatusRecord> recordVector;
return QApplication::exec();
}