#include <QApplication>
#include <QIcon>
#include "mainwindow.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    
    // Set application properties
    app.setApplicationName("screenshot-gallery");
    app.setApplicationVersion("1.0.0");
    
    // Set application icon
    QIcon appIcon;
    appIcon.addFile(":/icons/orcs-gallery-64.png", QSize(64, 64));
    appIcon.addFile(":/icons/orcs-gallery-128.png", QSize(128, 128));
    appIcon.addFile(":/icons/orcs-gallery-256.png", QSize(256, 256));
    appIcon.addFile(":/icons/orcs-gallery-512.png", QSize(512, 512));
    app.setWindowIcon(appIcon);
    
    // Create and show main window
    MainWindow mainWindow;
    mainWindow.show();
    
    // Enter application event loop
    return app.exec();
}