/**
 * @file test_simple_player.cpp
 * @brief SimplePlayerWindow OpenGL渲染器测试程序
 * @author AI Assistant
 * @date 2024
 */

#include "code/player/SimplePlayerWindow.h"
#include <QApplication>
#include <QDebug>

int main(int argc, char* argv[])
{
    QApplication app(argc, argv);
    
    // 设置应用程序信息
    app.setApplicationName("SimplePlayerWindow OpenGL Test");
    app.setApplicationVersion("1.0");
    app.setOrganizationName("AV Player");
    
    qDebug() << "Starting SimplePlayerWindow OpenGL test...";
    
    // 创建SimplePlayerWindow
    SimplePlayerWindow window;
    window.show();
    
    qDebug() << "SimplePlayerWindow created and shown";
    
    // 如果有命令行参数，可以在这里处理
    if (argc > 1) {
        qDebug() << "Command line file argument:" << argv[1];
        // 这里可以添加自动打开文件的逻辑
    }
    
    return app.exec();
} 