Re: Split gtk program into separate C files?



Yes

My normal template looks like this:

/* This is my licence text (GPL / LGPL / whatever)
 **/


#ifndef __MY_HEADER_H__
#define __MY_HEADER_H__

#include <glib.h>

// To allow usage of c by c++
G_BEGIN_DECLS

void CloseTheApp ();

G_END_DECLS

#endif // __MY_HEADER_H__

HTH

Jan-Marek



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]