Ignore:
Timestamp:
May 16, 2014, 9:51:55 AM (11 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer: update trunk to latest 0.8.7

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/myapplication.h

    r142 r165  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2013 Ricardo Villalba <rvm@users.sourceforge.net>
     2    Copyright (C) 2006-2014 Ricardo Villalba <rvm@users.sourceforge.net>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    2020#define MYAPPLICATION_H
    2121
     22#include <QtGlobal>
     23
     24#ifdef Q_OS_WIN
     25 #if QT_VERSION < 0x050000
     26  #define USE_WINEVENTFILTER
     27 #endif
     28#endif
     29
    2230#ifdef SINGLE_INSTANCE
    2331#include "QtSingleApplication"
     
    3846                return qobject_cast<MyApplication*>(QApplication::instance());
    3947        }
     48       
     49#ifdef USE_WINEVENTFILTER
     50        virtual bool winEventFilter(MSG * msg, long * result);
     51#endif
    4052};
    4153
     
    5365                // Nothing to do, let the application to close
    5466        }
     67       
     68#ifdef USE_WINEVENTFILTER
     69        virtual bool winEventFilter(MSG * msg, long * result);
     70#endif
    5571};
    5672
Note: See TracChangeset for help on using the changeset viewer.