lipsync/trunk/Boare.Lib.Vsq/VsqBarLineType.cs
kbinani 9de5d2e51e [trunk] (ry
git-svn-id: http://svn.sourceforge.jp/svnroot/lipsync@18 b1f601f4-4f45-0410-8980-aecacb008692
2010-03-17 03:14:08 +00:00

62 lines
1.5 KiB
C#

/*
* VsqBarLineType.cs
* Copyright (c) 2008-2009 kbinani
*
* This file is part of Boare.Lib.Vsq
*
* Boare.Lib.Vsq is free software; you can redistribute it and/or
* modify it under the terms of the BSD License.
*
* Boare.Lib.Vsq is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
#if JAVA
package org.kbinani.vsq;
#else
using System;
namespace Boare.Lib.Vsq {
using boolean = System.Boolean;
#endif
public struct VsqBarLineType {
private int m_clock;
private boolean m_is_separator;
private int m_denominator;
private int m_numerator;
private int m_bar_count;
public int getBarCount() {
return m_bar_count;
}
public int getLocalDenominator() {
return m_denominator;
}
public int getLocalNumerator() {
return m_numerator;
}
public int clock() {
return m_clock;
}
public boolean isSeparator() {
return m_is_separator;
}
public VsqBarLineType( int clock, boolean is_separator, int denominator, int numerator, int bar_count ) {
m_clock = clock;
m_is_separator = is_separator;
m_denominator = denominator;
m_numerator = numerator;
m_bar_count = bar_count;
}
}
#if !JAVA
}
#endif