Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adaption for 10.3 Rio #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ Html/
dunitx-results.xml
__history
__recovery
*.stat
*.pas
*.ithelper
4 changes: 3 additions & 1 deletion AddIn/DelphiPraxis.MVVMExpert.CodeGen.pas
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ TCodeGen = class
private
FDict: TDictionary<string, string>;
public
constructor CreateCreate( aModel: TModel);
constructor Create( aModel: TModel);
procedure RecreateDict( aViewModel: TMView);
end;

Expand All @@ -24,9 +24,11 @@ constructor TCodeGen.Create( aModel: TModel);

procedure TCodeGen.RecreateDict( aViewModel: TMView);
var
Model: TModel;
cfg: TConfig;
begin
//ProjectValues
Model := TModel.Instance;
cfg := Model.Config;
FDict.AddOrSetValue( '%%basepath%%', cfg.Path);
FDict.AddOrSetValue( '%%basepath%%', cfg.Path);
Expand Down
3 changes: 2 additions & 1 deletion Demo/Shared/Model/Model.Node.pas
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ constructor TNodes.Create;

destructor TNodes.Destroy;
begin

inherited;
end;

end.
2 changes: 1 addition & 1 deletion Grijjy.Mvvm.Rtti.pas
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ procedure TgoValue.SetFAsOrdinal(const Value: NativeInt);
TgoValueType.Unsupported, // tkClassRef
TgoValueType.Ordinal, // tkPointer
TgoValueType.Unsupported // tkProcedure
{,TgoValueType.Unsupported}); //???
{$IFDEF VER330},TgoValueType.Unsupported{$ENDIF}); //???

{ Property Getters }

Expand Down