File: firstplugin.cc

package info (click to toggle)
mlview 0.9.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 6,028 kB
  • ctags: 3,957
  • sloc: cpp: 49,090; sh: 8,393; ansic: 3,262; xml: 361; makefile: 329
file content (46 lines) | stat: -rw-r--r-- 1,151 bytes parent folder | download
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
38
39
40
41
42
43
44
45
46
/* -*- Mode: C++; indent-tabs-mode: true; c-basic-offset: 8; -*- */

/*
 *This file is part of MlView
 *
 *MlView 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, 
 *or (at your option) any later version.
 *
 *MlView is distributed in the hope that it will be useful, 
 *but WITHOUT ANY WARRANTY; 
 *without even the implied warranty of MERCHANTABILITY or 
 *FITNESS FOR A PARTICULAR PURPOSE.
 *See the GNU General Public License for more details.
 *
 *You should have received a copy of the GNU General Public License 
 *along with MlView; 
 *see the file COPYING. If not, write to the 
 *Free Software Foundation, Inc., 59 Temple Place - Suite 330, 
 *Boston, MA 02111-1307, USA.
 *
 *See COPYRIGHT file for copyright informations.
 */

#include <iostream>

#include "mlview-plugin.h"

using namespace std ;

extern "C"
{
	bool first_plugin_load (mlview::Plugin *plugin)
	{
		cout << "First plugin loaded." << endl ;
		
		return true ;
	}
	
	bool first_plugin_unload (mlview::Plugin *plugin)
	{
		return true ;
	}
}