Revision 007f5f6b include/RequestManager.h

View differences:

include/RequestManager.h
438 438
        UserPool           * upool;
439 439
    };
440 440

  
441
    /* ---------------------------------------------------------------------- */
442

  
443
    class VirtualMachineSaveDisk: public xmlrpc_c::method
444
    {
445
    public:
446
        VirtualMachineSaveDisk(
447
            VirtualMachinePool * _vmpool,
448
            UserPool           * _upool,
449
            ImagePool          * _ipool):
450
                vmpool(_vmpool),
451
                upool(_upool),
452
                ipool(_ipool)
453
        {
454
            _signature="A:siii";
455
            _help="Sets the disk to be saved in the given image.";
456
        };
457

  
458
        ~VirtualMachineSaveDisk(){};
459

  
460
        void execute(
461
            xmlrpc_c::paramList const& paramList,
462
            xmlrpc_c::value *   const  retval);
463

  
464
    private:
465
        VirtualMachinePool * vmpool;
466
        UserPool           * upool;
467
        ImagePool          * ipool;
468
    };
441 469

  
442 470
    /* ---------------------------------------------------------------------- */
443 471

  

Also available in: Unified diff