projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix spacing around OK/Cancel in the KDM dialog.
[dcpomatic.git]
/
src
/
wx
/
make_signer_chain_dialog.h
diff --git
a/src/wx/make_signer_chain_dialog.h
b/src/wx/make_signer_chain_dialog.h
index fc6391a941e90816aa67d74e61ed66edc79820c6..0ebffeb26f4c44d1124222044b3bddc0f7601830 100644
(file)
--- a/
src/wx/make_signer_chain_dialog.h
+++ b/
src/wx/make_signer_chain_dialog.h
@@
-23,7
+23,14
@@
class MakeSignerChainDialog : public TableDialog
{
public:
class MakeSignerChainDialog : public TableDialog
{
public:
- MakeSignerChainDialog (wxWindow* parent);
+ MakeSignerChainDialog (
+ wxWindow* parent,
+ std::string organisation,
+ std::string organisational_unit_name,
+ std::string root_common_name,
+ std::string intermediate_common_name,
+ std::string leaf_common_name
+ );
std::string organisation () const {
return wx_to_std (_organisation->GetValue ());
std::string organisation () const {
return wx_to_std (_organisation->GetValue ());
@@
-34,17
+41,17
@@
public:
}
std::string root_common_name () const {
}
std::string root_common_name () const {
- return wx_to_std (_root_common_name->GetValue ());
+ return
"." +
wx_to_std (_root_common_name->GetValue ());
}
std::string intermediate_common_name () const {
}
std::string intermediate_common_name () const {
- return wx_to_std (_intermediate_common_name->GetValue ());
+ return
"." +
wx_to_std (_intermediate_common_name->GetValue ());
}
std::string leaf_common_name () const {
}
std::string leaf_common_name () const {
- return wx_to_std (_leaf_common_name->GetValue ());
+ return
"CS." +
wx_to_std (_leaf_common_name->GetValue ());
}
}
-
+
private:
wxTextCtrl* _organisation;
private:
wxTextCtrl* _organisation;
@@
-53,4
+60,3
@@
private:
wxTextCtrl* _intermediate_common_name;
wxTextCtrl* _leaf_common_name;
};
wxTextCtrl* _intermediate_common_name;
wxTextCtrl* _leaf_common_name;
};
-