25 lines
530 B
C
25 lines
530 B
C
|
#pragma once
|
||
|
#include <Window.h>
|
||
|
#include <Message.h>
|
||
|
#include <TextView.h>
|
||
|
#include <Handler.h>
|
||
|
#include <string>
|
||
|
#include <StringItem.h>
|
||
|
#include <ListView.h>
|
||
|
#include <license.hpp>
|
||
|
class LicenseItem : public BStringItem {
|
||
|
public:
|
||
|
std::string license_text;
|
||
|
LicenseItem(const LicenseData license);
|
||
|
};
|
||
|
class AboutWindow : public BWindow
|
||
|
{
|
||
|
BListView *license_list;
|
||
|
BTextView *license_text;
|
||
|
public:
|
||
|
bool QuitRequested() override;
|
||
|
void Show() override;
|
||
|
void MessageReceived(BMessage *msg) override;
|
||
|
AboutWindow();
|
||
|
};
|