Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- arpojamoottori.h
- #ifndef ARPOJAMOOTTORI_H
- #define ARPOJAMOOTTORI_H
- #include "dllpalautaarvojakomponentti.h"
- class ArpojaMoottori
- {
- public:
- int ArvoLuku(int maxArvo);
- ArpojaMoottori();
- ~ArpojaMoottori();
- private
- int arvottuLuku;
- };
- #endif // ARPOJAMOOTTORI_H
- dllpalautarvot.h
- #ifndef DLLPALAUTAARVOJAKOMPONENTTI_H
- #define DLLPALAUTAARVOJAKOMPONENTTI_H
- #include "QString"
- #include "dllpalautaarvojakomponentti_global.h"
- #include "arpojamoottori.h"
- class DLLPalautaArvojaKomponentti
- {
- private:
- QString palautettavaArvo;
- ArpojaMoottori *olioArpojaMoottori;
- public:
- //DLLPalautaArvojaKomponentti();
- QString DLLPALAUTAARVOJAKOMPONENTTISHARED_EXPORT
- rajapintafunktioDLLPalautaArvojaKomponentti(int maxArvo);
- };
- #endif // DLLPALAUTAARVOJAKOMPONENTTI_H
- dllpalautaglobal
- #ifndef DLLPALAUTAARVOJAKOMPONENTTI_GLOBAL_H
- #define DLLPALAUTAARVOJAKOMPONENTTI_GLOBAL_H
- #include <QtCore/qglobal.h>
- #if defined(DLLPALAUTAARVOJAKOMPONENTTI_LIBRARY)
- # define DLLPALAUTAARVOJAKOMPONENTTISHARED_EXPORT Q_DECL_EXPORT
- #else
- # define DLLPALAUTAARVOJAKOMPONENTTISHARED_EXPORT Q_DECL_IMPORT
- #endif
- #endif // DLLPALAUTAARVOJAKOMPONENTTI_GLOBAL_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement