Move all keyring management functions to a separate class.
KeyringIO imports, creates and deletes keys. Everything is declared private in this class, and it can be called by K7Main only.
This commit is contained in:
@@ -40,6 +40,7 @@ OBJECTFILES= \
|
||||
${OBJECTDIR}/GpgMEWorker.o \
|
||||
${OBJECTDIR}/K7Main.o \
|
||||
${OBJECTDIR}/KeyEdit.o \
|
||||
${OBJECTDIR}/KeyringIO.o \
|
||||
${OBJECTDIR}/LoopbackPassphraseProvider.o \
|
||||
${OBJECTDIR}/PopupCertifyUserId.o \
|
||||
${OBJECTDIR}/PopupCreate.o \
|
||||
@@ -101,6 +102,11 @@ ${OBJECTDIR}/KeyEdit.o: KeyEdit.cpp
|
||||
${RM} "$@.d"
|
||||
$(COMPILE.cc) -O2 -s -I/usr/local/Wt/include -I/usr/include/gpgme++ -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/KeyEdit.o KeyEdit.cpp
|
||||
|
||||
${OBJECTDIR}/KeyringIO.o: KeyringIO.cpp
|
||||
${MKDIR} -p ${OBJECTDIR}
|
||||
${RM} "$@.d"
|
||||
$(COMPILE.cc) -O2 -s -I/usr/local/Wt/include -I/usr/include/gpgme++ -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/KeyringIO.o KeyringIO.cpp
|
||||
|
||||
${OBJECTDIR}/LoopbackPassphraseProvider.o: LoopbackPassphraseProvider.cpp
|
||||
${MKDIR} -p ${OBJECTDIR}
|
||||
${RM} "$@.d"
|
||||
|
||||
Reference in New Issue
Block a user