TODO list (again)

Jörg Rüppel joerg at sharky-x.de
Fri Mar 1 17:13:02 UTC 2002


Ok, that's good to know, but the console problem was a method. I guess it's 
ok if I send you a small portion of it:

CONSOLE.H

typedef struct console_command
{
	char			name[CONSOLE_MAX_NAME_LENGTH+1];
	void			(*ptr)(char*);
	bool			shown;
} console_command;

class CONSOLE {
public:
	bool	add_command(char* name, void (*_ptr)(char*), bool _list=true );
};

CONSOLE.CPP

bool CONSOLE::add_command(char* name, void (*_ptr)(char*), bool _list )
{
	console_command	*com = NULL;
	com->

	[...]
};
 	

Jörg

Am Freitag, 1. März 2002 17:00 schrieben Sie:
> ok ;-)
> at the moment the code completions works only inside a method..
>
>  // you can complete here
> class1::method(.. ){
> }
>
> // but not here
> int main(..) {
> }
>
> ciao robe
>




More information about the KDevelop-devel mailing list