MetricUpdate.h
QtCore/QObject
QtCore/QScopedPointer
Metric.h
MetricUpdate.h
QtCore/QObject
QtCore/QScopedPointer
Metric.h
MetricManager.h
MetricUpdate.h
UserMetricsInput::MetricUpdate
UserMetricsInput

    /*
    *Copyright(C)2013Canonical,Ltd.
    *
    *Thislibraryisfreesoftware;youcanredistributeitand/ormodifyitunder
    *thetermsofversion3oftheGNULesserGeneralPublicLicenseaspublished
    *bytheFreeSoftwareFoundation.
    *
    *Thislibraryisdistributedinthehopethatitwillbeuseful,butWITHOUT
    *ANYWARRANTY;withouteventheimpliedwarrantyofMERCHANTABILITYorFITNESS
    *FORAPARTICULARPURPOSE.SeetheGNULesserGeneralPublicLicenseformore
    *details.
    *
    *YoushouldhavereceivedacopyoftheGNULesserGeneralPublicLicense
    *alongwiththisprogram.Ifnot,see<http://www.gnu.org/licenses/>.
    *
    *Author:PeteWoods<pete.woods@canonical.com>
    */

    #ifndefUSERMETRICSINPUT_METRICUPDATE_H_
    #defineUSERMETRICSINPUT_METRICUPDATE_H_

    #include<QtCore/QObject>
    #include<QtCore/QScopedPointer>

    namespaceUserMetricsInput{

    classMetricUpdate;

    typedefQScopedPointer<MetricUpdate>MetricUpdatePtr;

    classQ_DECL_EXPORTMetricUpdate:publicQObject{
    public:
    explicitMetricUpdate(QObject*parent=0);

    virtual~MetricUpdate();

    virtualvoidaddData(doubledata)=0;

    virtualvoidaddNull()=0;
    };

    }

    #endif//USERMETRICSINPUT_METRICUPDATE_H_