Revision 5b9fed52 include/Nebula.h

View differences:

include/Nebula.h
25 25
#include "VirtualNetworkPool.h"
26 26
#include "HostPool.h"
27 27
#include "UserPool.h"
28
#include "VMTemplatePool.h"
28 29

  
29 30
#include "VirtualMachineManager.h"
30 31
#include "LifeCycleManager.h"
......
80 81
        return cpool;
81 82
    };
82 83

  
84
    VMTemplatePool * get_tpool()
85
    {
86
        return tpool;
87
    };
88

  
83 89
    // --------------------------------------------------------------
84 90
    // Manager Accessors
85 91
    // --------------------------------------------------------------
......
228 234
    //Constructors and = are private to only access the class through instance
229 235
    // -----------------------------------------------------------------------
230 236

  
231
    Nebula():nebula_configuration(0),db(0),vmpool(0),hpool(0),vnpool(0),upool(0),
232
        ipool(0),cpool(0),lcm(0),vmm(0),im(0),tm(0),dm(0),rm(0),hm(0),authm(0)
237
    Nebula():nebula_configuration(0),db(0),vmpool(0),hpool(0),vnpool(0),
238
        upool(0),ipool(0),cpool(0),tpool(0),lcm(0),vmm(0),im(0),tm(0),dm(0),
239
        rm(0),hm(0),authm(0)
233 240
    {
234 241
        const char * nl = getenv("ONE_LOCATION");
235 242

  
......
294 301
            delete cpool;
295 302
        }
296 303

  
304
        if ( tpool != 0)
305
        {
306
            delete tpool;
307
        }
308

  
297 309
        if ( vmm != 0)
298 310
        {
299 311
            delete vmm;
......
381 393
    UserPool           * upool;
382 394
    ImagePool          * ipool;
383 395
    ClusterPool        * cpool;
396
    VMTemplatePool     * tpool;
384 397

  
385 398
    // ---------------------------------------------------------------
386 399
    // Nebula Managers

Also available in: Unified diff