ACSMDownloader

ACSMDownloader Commit Details

Date:2021-04-06 21:47:59 (3 months 21 days ago)
Author:Grégory Soutadé
Commit:850b3cafa8b9f4832de60c5047ba885afab6c31d
Parents: 9d3b6ada7a9ddbe0e6f27159dd56bb5d08f560e7
Message:Add compile defines for RMSDK 10.0.4

Changes:
MMakefile (2 diffs)
Minclude/rmsdk/dp_dev.h (2 diffs)
Minclude/rmsdk/dp_drm.h (1 diff)
Minclude/rmsdk/dp_io.h (3 diffs)

File differences

Makefile
11
2
23
34
45
......
67
78
89
9
10
1011
1112
1213
RMSDK_VERSION ?= 10.0.4
RMSDK_C_VERSION ?= 10_0
CROSS ?= arm-linux-gnueabihf-
CXX = $(CROSS)g++
TARGET=$(OUTPUT)/acsmdownloader
SRCS=src/main.cpp
CXXFLAGS += -I./include/rmsdk/ `pkg-config --cflags Qt5Core Qt5Network` -fPIC -ggdb -DRMSDK_VERSION=$(RMSDK_VERSION)
CXXFLAGS += -I./include/rmsdk/ `pkg-config --cflags Qt5Core Qt5Network` -fPIC -ggdb -DRMSDK_$(RMSDK_C_VERSION)
LDFLAGS=-L. -L./lib/rmsdk/$(RMSDK_VERSION) -L./lib -lrmsdk -L./lib/Qt -lQt5Core -lQt5Network
all: $(OUTPUT) $(TARGET)
include/rmsdk/dp_dev.h
3535
3636
3737
38
39
40
41
3842
3943
4044
......
6064
6165
6266
67
68
69
6370
6471
6572
public:
#ifdef RMSDK_10_0
virtual void devprovfn0(void){std::cout << __FUNCTION__ << std::endl;}
virtual void devprovfn1(void){std::cout << __FUNCTION__ << std::endl;}
#endif
virtual dp::String getIdentifier() = 0;
virtual int getIndex() = 0;
virtual Device * getDevice( int index ) = 0;
virtual DeviceProvider * getProvider() = 0;
virtual int getIndex() = 0;
virtual dp::String getDeviceName() = 0;
#ifdef RMSDK_10_0
virtual dp::Data getPrivateDeviceKey() = 0;
#endif
virtual dp::String getDeviceType() = 0;
virtual dp::Data getFingerprint() = 0;
virtual dp::Data getDeviceKey() = 0;
include/rmsdk/dp_drm.h
7878
7979
8080
81
82
83
84
85
8186
8287
88
8389
90
91
92
93
8494
8595
8696
public:
#ifdef RMSDK_10_0
virtual void _fn0() = 0;
virtual void _fn1() = 0;
virtual void workflowFinished(unsigned int workflow, const dp::String& str) = 0;
#else
virtual void workflowsDone( unsigned int workflows, const dp::Data& followUp ) = 0;
virtual void requestInput( const dp::Data& inputXHTML ) = 0;
#endif
virtual void requestConfirmation( const dp::String& code ) = 0;
#ifdef RMSDK_10_0
virtual void requestInput( const dp::Data& inputXHTML ) = 0;
virtual void workflowsDone( unsigned int workflows, const dp::Data& followUp ) = 0;
#endif
virtual void reportWorkflowProgress( unsigned int workflow, const dp::String& title, double progress ) = 0;
virtual void reportWorkflowError( unsigned int workflow, const dp::String& errorCode ) = 0;
};
include/rmsdk/dp_io.h
4646
4747
4848
49
50
51
52
4953
5054
5155
......
6771
6872
6973
74
75
76
77
7078
7179
7280
......
8290
8391
8492
93
94
95
8596
8697
8798
public:
#ifdef RMSDK_10_0
virtual void strfn0(void) = 0;
virtual void strfn1(void) = 0;
#endif
virtual void release() = 0;
virtual void setStreamClient( StreamClient * receiver ) = 0;
virtual unsigned int getCapabilities() = 0;
public:
#ifdef RMSDK_10_0
virtual void streamclfn0() {std::cout << __FUNCTION__ << std::endl;}
virtual void streamclfn1() {std::cout << __FUNCTION__ << std::endl;}
#endif
virtual void propertyReady( const dp::String& name, const dp::String& value ) = 0;
virtual void totalLengthReady( size_t length ) = 0;
virtual void propertiesReady() = 0;
public:
#ifdef RMSDK_10_0
virtual void fn0() = 0;
#endif
virtual dpdev::Device * getDevice() = 0;
virtual int getIndex() = 0;
virtual dp::String getPartitionName() = 0;

Archive Download the corresponding diff file

Branches