Ignore:
Timestamp:
Jun 27, 2007, 3:16:11 AM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/include/NamespaceSupporter.h

    r198 r199  
    11#pragma once
    22
    3 #include <Compiler.h>
     3#include <jenga/include/smoothie/Namespace.h>
    44
    55class NamespaceSupporter
     
    2020        this->importedNamespaces = namespaces;
    2121    }
    22     bool ImportsNamespace( const std::string &namespaceStr )
    23     {
    24         NamespaceScopes namespaceScopes( namespaceStr );
    25         if( !compiler.GetMeta().GetNamespaces().IsExist( namespaceScopes ) ){
    26             return false;
    27         }
    28 
    29         this->importedNamespaces.push_back( namespaceScopes );
    30 
    31         return true;
    32     }
     22    bool ImportsNamespace( const std::string &namespaceStr );
    3323
    3424    NamespaceScopes &GetLivingNamespaceScopes()
     
    10999    static bool CollectNamespaces( const char *source, NamespaceScopesCollection &namespaceScopesCollection );
    110100};
    111 extern NamespaceSupporter namespaceSupporter;
Note: See TracChangeset for help on using the changeset viewer.