00001 /***************************************************************************** 00002 * test3.m : Empty Objective C module for vlc 00003 ***************************************************************************** 00004 * Copyright (C) 2000-2001 the VideoLAN team 00005 * $Id: test3.m 11664 2005-07-09 06:17:09Z courmisch $ 00006 * 00007 * Authors: Samuel Hocevar <[email protected]> 00008 * 00009 * This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. 00022 *****************************************************************************/ 00023 00024 /***************************************************************************** 00025 * Preamble 00026 *****************************************************************************/ 00027 #include <vlc/vlc.h> 00028 00029 #include <objc/Object.h> 00030 00031 /***************************************************************************** 00032 * The description class 00033 *****************************************************************************/ 00034 @class Desc; 00035 00036 @interface Desc : Object 00037 + (const char*) ription; 00038 @end 00039 00040 @implementation Desc 00041 + (const char*) ription 00042 { 00043 return "Objective C module that does nothing"; 00044 } 00045 @end 00046 00047 /***************************************************************************** 00048 * Module descriptor. 00049 *****************************************************************************/ 00050 vlc_module_begin(); 00051 set_description( _([Desc ription]) ); 00052 vlc_module_end(); 00053 00054