~ubuntu-branches/ubuntu/wily/aspectc++/wily

« back to all changes in this revision

Viewing changes to AspectC++/AspectIncludes.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-06-15 10:17:02 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090615101702-qsr30iptwbxylmo2
Tags: 1.0pre4~svn.20090615-1
* New upstream release.
* don't ignore errors in the postrm script
* avoid spurious creation of empty dir ./usr/sbin/
* improve short descriptions of libpuma-doc and libpuma-dev
* bump Standards-Version to 3.8.1
* bump debhelper compat level to level 7 (latest in stable)

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
using namespace Puma;
35
35
 
36
36
class AspectInfo;
 
37
#ifdef ACMODEL
 
38
class ACM_Aspect;
 
39
#else
37
40
class JPL_Aspect;
 
41
#endif
38
42
class BackEndProblems;
39
43
 
40
44
// this class manages all #includes and forward declarations, which have to be
59
63
 
60
64
class AspectIncludes : private UnitAspectRefMap {
61
65
  // helper function that find the unit in which an aspect 'ai' is defined
 
66
#ifdef ACMODEL
 
67
  static Unit *aspect_unit (ACM_Aspect *a);
 
68
#else
62
69
  static Unit *aspect_unit (JPL_Aspect *a);
 
70
#endif
63
71
  
64
72
  // generate the #include directive for a given aspect header unit
 
73
#ifdef ACMODEL
 
74
  static string generate (CProject &project, ACM_Aspect *a);
 
75
#else
65
76
  static string generate (CProject &project, JPL_Aspect *a);
 
77
#endif
66
78
public:
67
79
  
68
80
  // this function declares that a unit 'iu' depends on the aspect 'a'