Project

General

Profile

Actions

Feature #1061

closed

add an include file with forward declarations

Added by Arjan Vermeij about 13 years ago. Updated almost 13 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
Actions #1

Updated by Koen Deforche about 13 years ago

Hey Arjan,

Actually Wt/WGlobal does that already.

Regards,

koen

Actions #2

Updated by Arjan Vermeij about 13 years ago

I knew it was a good idea!

Thanks. Arjan.

Actions #3

Updated by Koen Deforche about 13 years ago

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

:-)

koen

Actions #4

Updated by Koen Deforche almost 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF