[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-games-devel
Subject:    [Kde-games-devel] Forwarding includes for libkdegames
From:       Matt Williams <matt () milliams ! com>
Date:       2006-12-29 15:09:25
Message-ID: 200612291509.25961.matt () milliams ! com
[Download RAW message or body]

A number of weeks ago, kdelibs went the way of Qt and set up forwarding 
include headers for its classes[1]. So that now, to use KMainWindow, instead 
of doing
	#include <kmainwindow.h>
one would do
	#include <KDE/KMainWindow>

This has the effect that the name of the file you include matches the name of 
the class you want to use.

Does the KDE policy allow us to install some forwarding headers for 
libkdegames so that instead of
	#include <khighscore.h>
it would be
	#include <KDEGAMES/KHighscore>
(of course the directory name "KDEGAMES" is up for debate)
and also do you think it would be beneficial?

Cheers,
Matt Williams

[1] http://websvn.kde.org/trunk/KDE/kdelibs/includes/
-- 
http://milliams.com
_______________________________________________
kde-games-devel mailing list
kde-games-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-games-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic