Ignore:
Timestamp:
12/25/06 23:45:24 (17 years ago)
Author:
r2d
Message:

added tag writing, but TagLib::FileRef::save() make all crash and I'm too lazy to debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • winamp-musepack/trunk/winamp-musepack/mpc_info.cpp

    r191 r192  
    1 #include "mpc_info.h"
     1/*
     2        Copyright (C) 2006 Nicolas BOTTI <rududu at laposte.net>
     3        This file is part of the Musepack Winamp plugin.
    24
     5        This library is free software; you can redistribute it and/or
     6        modify it under the terms of the GNU Lesser General Public
     7        License as published by the Free Software Foundation; either
     8        version 2.1 of the License, or (at your option) any later version.
     9
     10        This library is distributed in the hope that it will be useful,
     11        but WITHOUT ANY WARRANTY; without even the implied warranty of
     12        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     13        Lesser General Public License for more details.
     14
     15        You should have received a copy of the GNU Lesser General Public
     16        License along with this library; if not, write to the Free Software
     17        Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     18*/
     19
     20#include <windows.h>
     21
     22#include "in2.h"
     23#include "mpc_player.h"
     24
     25namespace winamp_musepack {
     26
     27System::Void mpc_info::btnCancel_Click(System::Object^  sender, System::EventArgs^  e)
     28{
     29        Close();
     30}
     31
     32System::Void mpc_info::btnReload_Click(System::Object^  sender, System::EventArgs^  e)
     33{
     34        player->loadTags(this);
     35}
     36
     37System::Void mpc_info::btnUpdate_Click(System::Object^  sender, System::EventArgs^  e)
     38{
     39        player->writeTags(this);
     40        Close();
     41}
     42
     43}
     44
Note: See TracChangeset for help on using the changeset viewer.