Project

General

Profile

Actions

Feature #1061

closed
AV KD

add an include file with forward declarations

Feature #1061: add an include file with forward declarations

Added by Arjan Vermeij almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
11/15/2011
Due date:
% Done:

0%

Estimated time:

Description

What about adding an include file with forward declarations of all classes exported by witty? Attached my attempt at such a file.

In my code I can then say

#include <Wt/forward.h>

without the need to add forward declarations for individual classes.

You could use this include file for witty's own .cpp files as well.


Files

forward.h (4.45 KB) forward.h Arjan Vermeij, 11/15/2011 01:22 PM

KD Updated by Koen Deforche almost 15 years ago Actions #1

Hey Arjan,

Actually Wt/WGlobal does that already.

Regards,
koen

AV Updated by Arjan Vermeij almost 15 years ago Actions #2

I knew it was a good idea!

Thanks. Arjan.

KD Updated by Koen Deforche almost 15 years ago Actions #3

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche
  • Target version set to 3.2.0

:-)

koen

KD Updated by Koen Deforche almost 15 years ago Actions #4

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom