/***************************************************************************
                          mediadetectplugin.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 MEDIADETECT_PLUGIN_H
#define MEDIADETECT_PLUGIN_H

#include <config.h>
#include <lineak/plugin_definitions.h>

class LKbd;
class LConfig;
class LObject;
class displayCtrl;
class ConfigDirectives;

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" void initialize_display(displayCtrl *myDisplay);

void macroEAK_MediaDetect(LObject* obj, LCommand &command, XEvent xev);
void dispatch_dcop(LObject *obj, LCommand &command, ConfigDirectives *dir);
void dispatch_program(LObject *obj, LCommand &command, ConfigDirectives *dir);
void dispatch_macro(LObject *obj, LCommand &command, ConfigDirectives *dir, XEvent xev);

#endif


syntax highlighted by Code2HTML, v. 0.9.1