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 34 35 36 37
|
/***************************************************************************
amarokplugin.h - description
-------------------
begin : 日 10月 26 2003
copyright : (C) 2003 by Sheldon Lee Wen
email : leewsb@hotmail.com
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef AMAROK_PLUGIN_H
#define AMAROK_PLUGIN_H
#include <config.h>
#include <lineak/plugin_definitions.h>
class LKbd;
class LConfig;
class LObject;
class displayCtrl;
using namespace lineak_plugins;
/** For a plugin, we need the following interfaces */
extern "C" int initialize(init_info init);
extern "C" int exec(LObject* imyKey,XEvent xev);
extern "C" macro_info* macrolist();
extern "C" void cleanup();
extern "C" identifier_info* identifier();
extern "C" int initialize_display(displayCtrl *myDisplay);
#endif
|