Skip to content

Commit

Permalink
Update for new vk api version
Browse files Browse the repository at this point in the history
  • Loading branch information
alinvip22@gmail.com authored and alinvip22@gmail.com committed Jan 31, 2021
1 parent 2f1b203 commit 9baf89f
Show file tree
Hide file tree
Showing 11 changed files with 3,677 additions and 3,335 deletions.
1,957 changes: 979 additions & 978 deletions FMX/VKPlayer.Main.fmx

Large diffs are not rendered by default.

12 changes: 3 additions & 9 deletions FMX/VKPlayer.Main.pas
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ interface
FMX.Graphics, FMX.Dialogs, FMX.TabControl, FMX.StdCtrls, FMX.Controls.Presentation, FMX.Gestures, System.Actions,
FMX.ActnList, VK.API, VK.Components, VK.Entity.Profile, FMX.Layouts, FMX.Objects, FMX.ListView.Types,
FMX.ListView.Appearances, FMX.ListView.Adapters.Base, VK.Entity.Audio, VK.Audio, FMX.ListView, BassPlayer.LoadHandle,
System.Generics.Collections, System.ImageList, FMX.ImgList, FMX.Effects, FMX.Player, FMX.Ani, FMX.ScrollBox, FMX.Memo,
FMX.Filter.Effects, FMX.Edit;
System.Generics.Collections, System.ImageList, FMX.ImgList, FMX.Effects, FMX.BassComponents, FMX.Ani, FMX.ScrollBox,
FMX.Memo, FMX.Filter.Effects, FMX.Edit, FMX.BASS.Classes, FMX.Player;

type
TBitmapCacheItem = record
Expand Down Expand Up @@ -197,7 +197,6 @@ TFormMain = class(TForm)
procedure VKError(Sender: TObject; E: Exception; Code: Integer; Text: string);
procedure VKLogin(Sender: TObject);
procedure FormShow(Sender: TObject);
procedure VKErrorLogin(Sender: TObject; E: Exception; Code: Integer; Text: string);
procedure SpeedButtonMusicClick(Sender: TObject);
procedure SpeedButtonSearchClick(Sender: TObject);
procedure SpeedButtonUsersClick(Sender: TObject);
Expand Down Expand Up @@ -940,14 +939,9 @@ procedure TFormMain.VKError(Sender: TObject; E: Exception; Code: Integer; Text:
end;
end;

procedure TFormMain.VKErrorLogin(Sender: TObject; E: Exception; Code: Integer; Text: string);
begin
//
end;

procedure TFormMain.SetCurrentUser(User: TVkProfile);
begin
Caption := 'VK Audio Player [' + User.GetFullName + ']';
Caption := 'VK Audio Player [' + User.FullName + ']';
end;

procedure TFormMain.SpeedButton1Click(Sender: TObject);
Expand Down
3 changes: 3 additions & 0 deletions FMXWindows/VKAudio.dpr
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ uses

begin
Application.Initialize;
{$IFDEF DEBUG}
ReportMemoryLeaksOnShutdown := True;
{$ENDIF}
Application.CreateForm(TFormMain, FormMain);
Application.Run;
end.
4,666 changes: 2,398 additions & 2,268 deletions FMXWindows/VKAudioWin.Main.fmx

Large diffs are not rendered by default.

Loading

0 comments on commit 9baf89f

Please sign in to comment.