Skip to content

Commit

Permalink
changed filenames and headers to reflect project name change (working…
Browse files Browse the repository at this point in the history
… title knockoff)
  • Loading branch information
sglienke committed Jun 26, 2015
1 parent eb96213 commit eea284b
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{******************************************************************************}
{ }
{ Simple MVVM prototype }
{ Knockoff prototype }
{ }
{ Copyright (c) 2015 Stefan Glienke - All rights reserved }
{ }
{******************************************************************************}

unit SimpleMVVM.Binding.Components;
unit Knockoff.Binding.Components;

interface

Expand All @@ -15,7 +15,7 @@ interface
Rtti,
StdCtrls,
SysUtils,
SimpleMVVM.Observable;
Knockoff.Observable;

type
TBinding = class(TComponent)
Expand Down
8 changes: 4 additions & 4 deletions SimpleMVVM.Binding.pas → Knockoff.Binding.pas
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{******************************************************************************}
{ }
{ Simple MVVM prototype }
{ Knockoff prototype }
{ }
{ Copyright (c) 2015 Stefan Glienke - All rights reserved }
{ }
{******************************************************************************}

unit SimpleMVVM.Binding;
unit Knockoff.Binding;

interface

Expand Down Expand Up @@ -60,8 +60,8 @@ implementation
StrUtils,
SysUtils,
Types,
SimpleMVVM.Binding.Components,
SimpleMVVM.Observable;
Knockoff.Binding.Components,
Knockoff.Observable;

var
ctx: TRttiContext;
Expand Down
4 changes: 2 additions & 2 deletions SimpleMVVM.Observable.pas → Knockoff.Observable.pas
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{******************************************************************************}
{ }
{ Simple MVVM prototype }
{ Knockoff prototype }
{ }
{ Copyright (c) 2015 Stefan Glienke - All rights reserved }
{ }
{******************************************************************************}

unit SimpleMVVM.Observable;
unit Knockoff.Observable;

interface

Expand Down
2 changes: 1 addition & 1 deletion MainUnit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ procedure Main;
implementation

uses
SimpleMVVM.Observable;
Knockoff.Observable;

type
TViewModel = class
Expand Down
2 changes: 1 addition & 1 deletion MainView.pas
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ interface

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, SimpleMVVM.Binding;
Dialogs, StdCtrls, Knockoff.Binding;

type
TMainViewForm = class(TForm)
Expand Down
2 changes: 1 addition & 1 deletion MainViewModel.pas
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ interface
uses
Classes,
Generics.Collections,
SimpleMVVM.Observable;
Knockoff.Observable;

type
TTicket = class
Expand Down
4 changes: 3 additions & 1 deletion ObservableTests.pas
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ interface

uses
TestFramework,
SimpleMVVM.Observable;
Knockoff.Observable;

type
TObservableTests = class(TTestCase)
Expand All @@ -19,6 +19,8 @@ TObservableTests = class(TTestCase)
procedure DependentObservableClearsOldDependencies;
end;

KO = Observable;

implementation

{ TObservableTests }
Expand Down
2 changes: 1 addition & 1 deletion Tests.dpr
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ program Tests;
uses
TestInsight.DUnit,
ObservableTests in 'ObservableTests.pas',
SimpleMVVM.Observable in 'SimpleMVVM.Observable.pas';
Knockoff.Observable in 'Knockoff.Observable.pas';

begin
RunRegisteredTests;
Expand Down
2 changes: 1 addition & 1 deletion Tests.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
<MainSource>MainSource</MainSource>
</DelphiCompile>
<DCCReference Include="ObservableTests.pas"/>
<DCCReference Include="SimpleMVVM.Observable.pas"/>
<DCCReference Include="Knockoff.Observable.pas"/>
<BuildConfiguration Include="Release">
<Key>Cfg_2</Key>
<CfgParent>Base</CfgParent>
Expand Down
2 changes: 1 addition & 1 deletion TournamentView.pas
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ interface

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, SimpleMVVM.Binding;
Dialogs, StdCtrls, Knockoff.Binding;

type
TTournamentViewForm = class(TForm)
Expand Down
2 changes: 1 addition & 1 deletion TournamentViewModel.pas
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ interface

uses
Classes,
SimpleMVVM.Observable;
Knockoff.Observable;

type
TMatch = class
Expand Down

0 comments on commit eea284b

Please sign in to comment.